Fix several issues in tests

- regex-escape file names for regex matching in tests
- add a missing pytest import to test_file_handler.py
- pep8/flake8 fixes for test files
Increase the sleep time in test_zeromq_background_thread
Fix pickling errors in multiprocessing / subscriber group tests
Merge pull request #118 from aldanor/master

Fix several issues in tests