DATAMONGO-641 - Reformatting to prepare fix.
DATAMONGO-641 - Fixed potential NullPointerException in MongoLog4jAppender.

Log4j appender now only closes Mongo instance if available.