Fix goimports and go fmt calling

It remains to solve the issue of setting the GOPATH for creating new projects as currently in the dialog there's no way to do it, hence things won't work properly. Also, new projects should be able to be created inside the GOPATH properly. But that's another PR.