Update For Rails 4 Support

Rack::Attack should be a class, not a module.  Defined Rack::Attack if not already defined. Minor style changes.
Merge pull request #1 from jbyck/WIKI-489/rails-4-support

Wiki 489/rails 4 support