Add launchpad.net/gocheck at r85.
Port tests to gocheck. WIP.
Add config validation.
Add tests for bad configuration.