Refactor DuplicateChecking

* More Extract Method Object goodness.
* Builds the duplicate query with normal AR chaining methods, instead of munging a giant string into `.find_by_sql`.