added format to rspec
added routes for update and destroy action
corrected error in patch test of todo spec file
corrected typo in patch route
added some semicolons to todos.js
made todo#update more readable