PgManager: Fix logging, log queries before executing, possible exceptions are logged after. Add tests for RowDict. Add tests.py - runs all tests.
TESTS=====All test should work at least with Python 2.6, 2.7 and 3.2How to test-----------1. Copy tests.conf.example to tests.conf and modify it so it points to your test database.2. Create test tables using tests.sql3. Run individual tests.