Cleanup up the imports of tasks.py
Fixes #244 Remove old Twisted code to execute plugin-runner from tasks.py
Fixes #243 Cancelled plugin sessions show a duration of 16 days