Bump to 4.0.0

* Thanks to @ches for a fix which disallows spaces in cache keys. This fixes some compatibility with memcached.
* Also thanks to @johnlinvc with a fix for requiring active resource with Rails 4