constraints for locations

(geojson checks still incomplete)
constraints for agendaitem
refactoring (order of object types as in spec)
refactoring (2)