Update for latest tink_core (which includes `code` in the parent object)
Switch to tink.core.Error where possible.

Now that is supports a `code:Int`, there is no difference.

I have left the static helpers in place to prevent breaking compatibility.
Add tests for Message / MessageList
Formatting changes in test/
Unit tests for BrowserConsoleLogger

Minor changes to code.