gtfs2geojson: change to use a reference counter for trips, added more documentation