Fix deprecated warning.
Stdout as primary log stream for tests.

- it helps to prevent stderr race in PyCharm debug window.
More verbose description of ChokeEvent.
Remove -O from tornado script. Cann't launch it on lucid