Added support for Restful controllers. The generate-restful-controller

This command will create a restful controller and unit test. This means:
1) Assumes the UrlMapping for the domain class follows the restful pattern: "/domains"(resources:'domain')
2) Assumes the allowed Methods are: [index: "GET", save: "POST", update: "PUT", delete: "DELETE"]
2) Supports only JSON and XML responses.