Improved version of import/export script:

1. Moved hard-coded parameters to variables.
2. Added call to create_ddl_dir with relevant parameters to dump PostgreSQL schema to disk.

Largely works, but final PostgreSQL file can have conflicting constraint/index names.