Code cleanup
Fix breaking changes from edge rails commits #8e1b363

and #18a74f9 affecting ActiveRecord.

In spec/polyamorous/join_dependency_spec.rb, the two tests for outer
joins using the new_join_dependency method with :outer are not working.
To be continued.