Improved GUI and tests

Added tests and improved the GUI and logging of the application.
This file is deleted, it was replaced right ? To the Tribler/core/tag folder ?