Don't call logging.basicConfig if logging is already configured (#775).
Will not call logging.basicConfig if there is a root logger,
tornado logger or tornado.application logger.

Updated patch to reflect comments about tests and method privacy.
Merge pull request #971 from gmr/logging-patch

Don't call logging.basicConfig if logging is already configured (#775). Replaces #887