fixbug: set_resource on photo_controller for edit,update,destroy actions not calls
blueimp controls moved to shared
rspec && factory_girl added