Made routes compiler its own plugin

* Improved the structure of routes compilation, so that it's more configurable
* Made the incremental compilation good
* Took many of the old integration tests for the router and turned it into a scripted test
* Wrote scripted tests for incremental compilation
* Included mocha tests for the JavaScript reverse router in incremental compilation

To be honest I didn't read this code, I just copied/pasted it.