Cleanup: Extract log utils into pkg/log

(RE: conversation in #docker-dev)

This is the beginning of a few pull requests to break up utils into more discrete packages. My team needs this so we can import packages from Docker without inadvertently inheriting all the imports from utils.

In our case, we need to break up some of utils so we don't accidentally pull in github.com/docker/docker/pkg/term, which does not compile on Windows.

It is intentional. These match emacs temp files. I am happy to remove them, however, if you don't want to ignore such things.