Make host optional for Postgres connections.
Tweak consistency of deleteds.
Sort records on batch inserts.
Tweak comment spacing.
Don't remove second where if already less than two.
Slight fixes to eager loading where removal.
Emulate transaction nesting.
Add prefix to has table call for MySQL.
Fix conflicts, merge 4.0 branch.