1093762-Move mongo connection after logging is initialized and print error to co...

To preserve the error log, logging must be initialized before the mongo connection is attempted. Additionally, this error message should be printed to the console rather than simply hanging.

Fixes [BZ-1093762](https://bugzilla.redhat.com/show_bug.cgi?id=1093763)
On second thought, we shouldn't add a console handler in this file. Let's add the console handler to the root handler in pulp.server.db.manage._start_logging() like this:

```
    console_handler = logging.StreamHandler()
    console_handler.setLevel(<from_settings>)
    root_logger = logging.getLogger()
    root_logger.addHandler(_console_handler)
```