MMRI-RT

This pull request contains my latest changes to the mmri-rt branch, including thread-safe alerts and a merge with master. It also removes some functionality, such as partial trip cancellations and the ability for alerts to affect routing, that should either just not be used in this manner or be replaced with new, more correct implementations of the same functionality.