change controller scaffold template in order to build resource params
change fetch to require in resource params
generate resource params if rails 4 app or used strong params gem
Merge pull request #378 from dmitri-wm/master

change controller scaffold template in order to build resource params