Jerusalem in medieval thought, 400-1300