Creat Rails task model and controller

Rails tasks controller now reponds to backbone methods to modify models
Remove .json from resources path; Fix update action

Task resources now respong with JSON data without appending .json on the
route. Also, the update action in the tasks controller is now fixed so
backbone app can update attributes.