Fix setup_env tagpool metadata.
Add middleware to setup_env app workers.
Actually create contact groups in setup_env. Also test that all the right things get called.
Merge branch 'feature/issue-643-setup-env-fixes' into develop