Adding global setup/teardown

If you guys are OK with this, we can submit a PR back to dredd
- [ ] @vadim-hbo 
- [ ] @Furchin 
- [ ] @dburnshbo 
This is integration test code only. The test creates a new process for dredd, so the easiest way to communicate between parent and child process is to write it to the stdout.