Make Rails 4.1 compatible and update minor versions

Hi, Rails 4.1 was released yesterday. I updated the gemspec, tests are still passing.

I also made a similar pull request to element_factory https://github.com/bobbytables/element_factory/pull/2

My `bundle install` does not fail anymore. (Using my git repo as gem source)
Please update the rubygem too, thanks!