Centralize the logging code into its own folder in Common.
Merge pull request #465 from lioncash/logging

Centralize the logging code into its own folder in Common.