Add dafault PK order to FinderMethods#first and fix #last(N)

Addresses #11774 ( unordered #first makes has_one association fragile / dependent on order of records returned by database ) and #11917 ( table.joins(:relation).limit(N) breaking on sqlite )