Improve SDK creation so that projects can be created in first directory of GOPATH (fixes #441)

The fix is in second commit.
Also I've updated the SDK version to allow automatic SDK upgrade (which seems to be working ok), see the third commit.

The first commit is just a cleanup.