Removing vendored Rails.
Remove vendored gems.
Remove lib versions of ruby-msg and ruby-ole
Remove applied patch - now in git repo we will pull rails from.
Handle ruby gem dependencies with bundler.
No need to load rspec in config/environments/test.rb, handled using bundle groups
Make sure initializer has run when we try to turn off papertrail for the test environment.
Update require for gem rather than vendored rails.
Load the mocks we need rather than trying to require classes from the Rails tests.
Require not needed now we're using bundler.
Don't need rdoctask with newer version of rake.
Switch to using bundle exec.
Upgrade Rails and JSON gem to get fixes for  CVE-2013-0276, CVE-2013-0277 and CVE-2013-0269
Don't run commonlib tests.
Run tests with bundler
Merge branch 'feature/use-bundler'