Formatting and Vetting

This is the result of `go fmt -w -s .` and fixing the results of `go vet` that don't change functionality.

Other remaining things to look at that may affect functionality are:

```
pkg/database/testing/testing.go:31: encrypt.EncryptedField composite literal uses unkeyed fields
pkg/database/testing/repos_test.go:204: arg true for printf verb %s of wrong type: bool
pkg/plugin/deploy/ssh_test.go:104: no formatting directive in Errorf call
```