Add tests for actual logging events.

By creating a custom appender in Logback, this closes the loop so that
we can take log events and make sure they're sent along to the logging
system as expected. This gives pretty good coverage of the most
important functionality.

Fixes #7