add ability to hook into the SQLite Error Log from C#

Allow user to register a C# handler. (Please note - my only C# environment is Xamarin, so that is where I tested it).