Fix tests after upgrading ActiveRecord to 4.0.

- Include the `protected_attributes` gem for `attr_accessible` style mass-assignment security
Fix test runner

- Run tests with `bundle exec rake test`