TableCopyTool: order tables with respect to references.
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.