Bump version and tweak gemspec dependencies

Split the Rails dependency to make it possible to use with AR alone.

Limit the version to `< 4.3.0`, as things we need may break (AR
internals).