Added test cleanup listener to detect untidy tests

After each test suite, detects whether there are stray datafiles, hooks
or proxies, then show a warning and clear them.
Merge pull request #6520 from owncloud/tests-testcleanuplistener

Added test cleanup listener to detect untidy tests