Add a shutdown hook for when everything is done
Remove now unused and dead code

We no longer need inputunit. nettesttask was never needed
Remove unused imports inside of ooni, oonicli and runner
Move startTor and startSniffing methods into Director

Removes unused imports in runner and adds exceptions to errors
Handle errors when writing to the list of Reporters

We will try to write to a reporter the number of times the ReportManager is
configured to do so.
If no more reporters are available an exception will be raised and the test
will stop running (XXX this needs to be tested properly)
Refactor NetTestLoader and add checkOptions, and add Tor support
Add missing import os
Merge branch 'taskManager' into aagsnTaskManager

* taskManager:
  Handle errors when writing to the list of Reporters
  Validate that the collector command line option
  Remove unused imports inside of ooni, oonicli and runner
  Remove now unused and dead code
  Add a shutdown hook for when everything is done

Conflicts:
	ooni/errors.py
	ooni/oonicli.py
	ooni/runner.py
Move the instancing of the t.i.w.Agent into createReport

Add XXX about possible cleaner solutions to the problem
Fix regexp for validating collector address