Compatibility with Rails 4.1

This PR adds compatibility with Rails 4.1. Unfortunately it also breaks compatibility with older versions of Rails. Hope this is what you need to make Thinking Sphinx work with 4.1.
**Note:** Rails 4 doesn't support `:condition` option for associations so I had to remove this functionality from joiner.