activesupport compatibility

Hi,

I had some compatibility issues with activesupport 4.1.

I've updated the gemspec.
I've also fixed the mocha import in the test helper.

The test are passing but it may need more testing.