Check if all the go code is properly gofmt'd.

Check done on TravisCI.
Tested on GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13).
Fix for #11.