Cleaner and more powerful routing system.

More powerful routing system allowing easy sub-resources of the form:
/customers/:id/accounts/:number
Pluse, several other fixes.