Adding support to Rails 4.

Adding support to rails 4.
Adding support for strong parameters.
Please update gem version in ReadMe when deployed.