Tests: naming convention fixes
Add: the waitForSignal() function, plus unit tests for it.
Fix: Add a parameter to waitForSignal so that the emitting function won't be
       called until after all signal/slot connections have already been established.
Fix: Use waitForSignal instead of fixed delays.
Fix: Use code in base.py, rather than a duplicate of it.
Fix: Pass exceptions from inMainLoop on to rest of test.
Fix: Raise exception so the correct backtrace does get printed
Add: Failing unit test, produced by a one-argument signal.
Fix: Test for and propagate sender exceptions in waitForSignal.
Add: Test case for assertion for inMainLoop
Fix: Provide a way to suppress trackbacks when exceptions are expected.
Add: a convenience routine, assertEmits, for easy unit testing use.
Fix: Following coding conventions:
     - Use camelCase for variables.
     - Use docstrings instead of comments.