Curly braces parameters to routes

E.g: /foo/{id}
This is the syntax used by
[crossroads](https://github.com/millermedeiros/crossroads.js) to perform client-
side routing. It would be nice to declare routes the same way, for both
client and server side.