Clean up logging story

Add a `log` method to the config object passed to tasks, so they have
easy access to Build._log
Logging clean up