Added bin/test-wrapper

Fixes #786 by creating a temporary Pg cluster/database with Test::PostgreSQL, and writing a clean config file, which is enabled by setting FMS_OVERRIDE_CONFIG.

As creating a Pg cluster/database on every test run is slow, this is implemented in a test-wrapper, so is entirely optional.