Implement nested RESTful routes

Hi jakenotjacob! I said on #rubyonrails irc that I'd show you how to create a has_many belongs_to relationship but sadly something came up and I had to dash. Anywhere, I've create such a relationship in this fork, so pull if you wish. You will have to change your database YAML to suit your environment, as I changed it to suit mine. (Most people use environment variables in config files for security and to stop having to keep replacing a project's configuration in two on different machines.)