feature: Allow routes to be instantiated.

* If a route file exports a function, instantiate the function to create the route. Very useful for testing.

fixes #42
Merge pull request #43 from shane-tomlinson/issue-42-initialize-route

feature: Allow routes to be instantiated.