Rails 4 compatibility

This is similar to #62, but designed not only to support Rails 4 (without the 'protected_attributes' gem), but also works with Rails 3.2 and with Rails 4+ when using the 'protected_attributes' gem.  Also, when checking out this project, the tests should all pass with the default configuration, and the documentation has been updated to mention filtered parameters.