Basic router done.

Can define routes and resources with various options. Not yet usable
since the mechanism to supply controllers and models to the routes is
not yet well defined.
added jshint for the tests.

I had to turn off warning about
"Expected an assignment or function call and instead saw an expression."
since chai-style assertions throw jshint off.