More unittests.
Moved the majority of _loop into _one_step

Moving this code allows us to call _one_step whenever a single task
should be executed.  This allows _one_step to be called from the
Callback.call(...) method, fixing the problem with call not being able
to allow other tasks to run when called from the callback thread.  See
the test_call_priority unittest.
Better fix for UnboundLocalError bug.
Removed a None entry from the _requests tuple.

At some point one entry in every tuple in _requests was no longer used
and set to None.  This has now been properly removed.
Reduce duplicate code.
Bugfix: use the mirrors to obtain the old tasks.

The main variables containing tasks were cleared a few lines above to
avoid new tasks from being registered.
Callback.call now also allows other tasks to run.
Some exceptions do not have exc_info available.
Write summary file after test.
Merge pull request #126 from boudewijn-tribler/bugfixes

Write summary file after test.
Merge remote-tracking branch 'remotes/upstream/devel' into callback

Conflicts:
	callback.py
	tests/dispersytestclass.py
Speedup insert/update member table.

The public key is no longer UNIQUE in the database.
Removed systemtap debug functions.
Database upgrade 17 -> 18.

The public_key column of the member table is no longer UNIQUE.  This
removes the index on this column, reducing the bytes written when new
Member instances are created.  The python code is now responsible to
ensure that public_key remains unique.
typo
Add a toggle that allows disabling the sync cache.
Use property
Merge pull request #128 from whirm/bloom_cache_toggle

Bloom cache toggle
Add IP and connection type info to logger.
Merge pull request #129 from boudewijn-tribler/bugfixes

Add IP and connection type info to logger.