Add a guard for Rails 4 to support 1.8.7
Fixes broken test on BasicClient
Merge pull request #66 from sgerrand/fixes-broken-test-supports-1.8.7

Fixes broken build #92, adds support for 1.8.7