Make python3 compatible

"except Exception as e:"  is used in other parts of the code already.

FEATURE Python 3 compatibility.
ioc.extra.tornado - Make port configurable

FEATURE Make tornado port configurable.