Ruby 2.2 on Rails 4.0 support

In Ruby 2.2 Minitest has been removed from ruby core. However, Rails 4.0.x includes it as a gem dependency. In order to not fail on loading our adapter this performs a second check for Ruby 2.2+ which then handles the Minitest 4.x gem.

Resolve #1262 
For Rails there should not be. It is a dependency of the framework; at least on 4.x which is only what we are supporting for 2.2.