WebAgg: reuse already running Tornado ioloop + use logging instead of print()

If a Tornado ioloop is already running before WebAggApplication.start() is called,
it should be re-used instead of trying to start it again. This allows one to
use WebAgg in his/her external Tornado application.
Additionally, print()-s are replaced with calls to a dedicated logger
(module logging).