Added new and improved QA framework.

Switch to peewee ORM.
Use blinker signals for test events.
Use for Python standard libraries.
Many bug fixes.

Note: not ready for use yet.