Add full rest support

Depends on PRs: #20, #25, #26

Added full support for REST routing:

Besides using :params at the end of a route to add any number of parameters now we also support :param, which will add a sinlge parameter to a route, anywhere in the URL:

users/:param/images will route /users/foo/images, and the parameters are set to ["foo"] 
users/:param/images/:param will route /users/foo/images/42, and the parameters are set to ["bar", "42"]
users/:param/images/:params will route /users/foo/images/42/43/44, and the parameters are set to ["bar", "42", "43", "44"]

Also added automated testing for these routes.