Enable custom routing

WIP!

A small puzzle pieces towards #34. Includes fancy alternative route for applications#show

(Note that `:authority` and `:reference` aren't actually used for anything although they should be available to the controller)

<!---
@huboard:{"order":11.015625,"milestone_order":66,"custom_state":""}
-->

Will experiment. Idea stolen from Alaveteli. Might have to be a global to be accessible by the routes file.