An archaeological dig before work starts on the Guildhall of St George in King's Lynn could shed new light the a town's medieval history.