Excavation of medieval graveyard begins during tram works