Gtfswrite

Fix #1630 (GTFS write functionality).
Does this actually need to implement Map to be effective? It seems to lead to a lot of one-liner function overriding noise, and feels like we could achieve the same functionality more concisely. I'll need to study how it's used a bit myself though before I make any further comments.