Reorder sequence/table drop-if-exists order

Without this, Postgres won't drop the sequence because the table still
refers to it.  Simple fix is to drop the table if it exists and *then*
try dropping the sequence.  Our other DROP IF EXISTS code touches serial
tables, which handle the sequence dropping for us.
Merge branch '4.2/pg-drop-if-exists' into 4.2-trunk