All the MMRI-RT stuff in one pull request

I basically combined all the pull requests into one (so you can review the others first if you like) and added a few more small fixes. GTFS-RT seems to work 100% now (except for the parts that aren't supported yet) over both HTTP and WebSockets.