Refactor gocode preferences code.
Fixed GoCompiler bug: not printing the invoked commands when building
non-main packages.