Inherit method security

Closes #415
Only check security if it is already set
Reorganise test integration

Adds compatibility with minitest-rails 0.5
Enable testing against multiple Rails versions
Add rspec-rails to development dependencies

...and loosen rake requirement to allow 10.0+
Rails 3.0 compatibility
Rails 3.1 compatibility