Has many through fixes

When we works on legacy system it's improbable to rely on conventions and I've not found a way to set the key used in through relationship. Now it's possible specify "through_key" in the relationship options; it will be used in the "on" clause.

Plus, is now possible to pass this kind of relations in find's 'joins' option and it will work as expected.