Run 'go vet' on every commit

Also include the necessary fixes for our code to pass 'go vet' today.

Signed-off-by: Tycho Andersen <tycho.andersen@canonical.com>