Integration tests use consistent teardown methods
Caching db config in migration utils
Fix tests tripping spam protection
Change 'loadConfig' task to 'ensureConfig' to more accurately reflect
what it is actually doing.

Its sole purpose is to make sure a `config.js` file exists, and as such
the name now reflects that purpose.

no issue
Create before.js file that can do initial configuration work that is
required for the integration tests.
Update config/index.js to export the ghostConfig object directly
so that it can be accessed from other modules
Update all references of config(). to config.
This was a blind global find all and replace, treat it as such.
Fixes to tests to support new config access method