appended 'TEST' to email titles when on the test server environment

closes #341
Merge pull request #554 from unikent/feature/emails-on-test

appended 'TEST' to email titles when on the test server environment