Add syntactic sugar to generate routes

Inspired by resourceful routes in Rails. See:
http://guides.rubyonrails.org/routing.html#crud-verbs-and-actions