Update KueStore for use with Rails 4.1

All tests pass now with Rails 4.1, though not tested for backwards compatibility—perhaps this could live in a separate branch for Rails 4.1 only?