Bump version dependency for Tornado library

The older version of Tornado uses the root logger of the logging module,
which has been fixed in later versions.
Fix: escape text when surrounded by quotes

Note: this causes things like ampersand signs to be escaped as HTML
codes and will need to be unescaped later to be useful.