Warn if tests leave active threads.
Add comment for twisted exception.
Add excepted threads.
Update with latest changes from 1076-check-threads.