Handle strong parameters.

If you are running Rails 3.x but have the strong_parameters gem installed.
More or less back ported changes from 1.9 branch.