Get forward and back buttons to work with routing

Move the "route" onhashchange function into RouteCollection.

So we now bind two functions to onhashchange:

- `rappid.onhashchange` checks if the route is `''` and hides the map if it is
- `RouteCollection.onhashchange` checks if the route is `/route/:id/direction/:id` and sets the active route/direction if it is