Use gofmt for parsing go code

This not only catches code that doesn't compile, but one that breaks
conventions as well.
Run `go build` before `gofmt`

`gofmt` doesn't catch standard build errors, just misalignments.
Syntax-check go with a standalone script
Style fix
Merge pull request #111 from skanev/gofmt-for-parsing-go

Use gofmt for parsing go code