Don't call basicConfig if there are tornado loggers with handlers (#775)

Per ticket #775, check for handlers in tornado and tornado.application loggers in addition to root logger prior to calling basicConfig.