Fix rails4 issue when using protected_attributes gem

Adressing issue #56, checking for protected_attributes or !strongparameters, instead of rails version.