Introduce logging

Consumers can register a GlobalSettings.LogConfiguration to receive
logging messages from LibGit2Sharp and trace messages from libgit2.