Merge pull request #14 from NielsZeilemaker/test-cleanup

Fix for path errors in test_tdef
Merge pull request #15 from NielsZeilemaker/test-cleanup

Test cleanup
Merge pull request #16 from NielsZeilemaker/test-cleanup

Fixes for test_sqlitecachedbhandler
Remove unused imports
Merge pull request #17 from NielsZeilemaker/test-cleanup

Test cleanup
Merge pull request #18 from NielsZeilemaker/test-cleanup

Test_vod fixes, disabled part of the code as Libtorrent currently does
Merge pull request #19 from NielsZeilemaker/test-cleanup

VideoServer get/delInstance
Merge pull request #20 from NielsZeilemaker/test-cleanup

Test cleanup
Fixes magnetlink unittest.

The response protocol changed, instead of responding with data in a
'data' field inside the bencoded dict, the data is placed behind the
bencoded dict.

Added a sloppy_bdecode to bencode.py to allow us to get the offset
where the bencoded dict ends and the data begins.

Also, libtorrent does not reject duplicate requests.  Instead it gives
a normal response and outputs the following warning:

        LibtorrentDownloadImpl: alert performance_alert with message
        file.wmv: performance warning: max outstanding piece requests
        reached

Finally, variables named responce were renamed to response.
We use nosetests to run all unitests.
Merge pull request #21 from boudewijn-tribler/test-cleanup

Fixes magnetlink unittest.
Fix a test, skip another and a bunch of import cleanups.
Remove tracking test, the internal tracker will be removed soon.
Removed transaction stuff from sqlitecachedb, proved to scary to live
with.
Swift did not respect done flag, would initiate new downloads after
quitting.
Merged test_as_server and test_gui_as_server, attempting to force all
unit tests to use same temp directories.