[issue-#9] make gem strong parameter friendly

attr_accessible and attr_protected may not always be available in ActiveRecord
this change will use them if they are present, and ignore them if not. A test
was also added to exercise models that use the strong_parameters gem.