13/11/26 add draft of defect update model and controller, rename defect_controller.rb to defects_controller.rb