Added support for Postgres COPY statements

Hey @cantino,

Here's my new PR for Postgres COPY statements.

I also moved all the apply_table_config into a new class. Also, I got rid of the database shared helper stuff cause there's no need for that anymore (Postgres no longer parses insert statements).

Hope it's not too confusing with all the movements.

Thanks!