Update add-test-data to use the ORM.
Fix typo in modified submission-media migration.
Use pure-JavaScript pg module.

We’re not using pg.native anyways. This also updates pg and knex.