Add Code Climate badge to README

I also moved both the build status badge and the Code Climate badge to the top as I've seen a lot of other projects do.
Merge pull request #446 from noahd1/master

Add Code Climate badge to README
This gets Mongo and DataMapper specs running
but newer versions of AR, and incidentally Sinatra specs still fail.
Use database_cleaner ~> 1.2.0 for tests
use kaminari.gemspec database_cleaner in sub gemfiles
Use truncation for DataMapper
lock mongoid_30 at ~> 3.0.0
test against mongoid ~> 3.1.0 with rails ~> 4.0.0
allow some failures :trollface:
allow failures on travis for sinatra_13 and sinatra_14

based on a patch by @wbyoung #451
Fix arity problem with rails 4.1.0

Fix specs for airty check

Don't check arity, just check the AR version
Clean with truncation at the start of each suite.

This keeps things working properly for mongo which does not support
transactions. The strategy is still properly configured to use
transactions where supported, though, so this should not affect
the speed of the test suite for other ORMs.
Fix for Model.all.page in DataMapper
Restoring global configuration value.

Without setting this back to nil, this affects all other tests.
Removed invalid test.

No other ORM tests for `current_page` to work on the model, and there
is no documentation that indicates that this should work this way. I
believe this test was added accidentally.
Fixed tests targeting Rails ~> 4.0.0.
Tests targeting Rails < 4.1 rather than ~> 4.0.0