Improve linking between OSM and GTFS data

Various changes in building the graph from OSM data and linking transit stops that are present in both OSM and GTFS.

Please see the individual commits for the improvements.