Implement BLogger class

Implement new BLogger class. Add some corresponding methods to
BCoreApplication. Change BNetworkConnection::log() method.