Add a -createtable command line switch

Not all Postgres versions support "IF NOT EXISTS" in "CREATE TABLE" statements,
this should make it easier to deal with those.