Attach logging to root handler

This means that we will capture log messages that are not specifically
written to flasks logger.

Before this commit we're not capturing any error logs from the rest of
our application or from dependencies (unless they cause exceptions that
bubble up to the flask layer).