Pieces of Portsmouth’s history have been uncovered as ongoing gasworks across the city have seen historic tramlines exposed.