Add go fmt check to Travis config.

Also, this CL fixes the existing formatting of Go code.

@namn, could you please take a look?