func normalizeImportPath(currentPath string, pth string) normalizedPackagePath {
	if strings.HasPrefix(pth, "./") {
		return normalizedPackagePath("./" + currentPath + pth[1:])
	} else if strings.HasPrefix(pth, "github.com/DQNEO/minigo/stdlib/") {
		renamed := "/stdlib" + pth[len("github.com/DQNEO/minigo/stdlib/") -1:]
		return normalizedPackagePath(renamed)
	} else if strings.HasPrefix(pth, "github.com/") {
		gopath := getGOPATH()
		return normalizedPackagePath(gopath + "/src/" + pth)
	} else {
		return normalizedPackagePath("/stdlib/" + pth)
	}
}
"fmt" => "/stdlib/fmt"
"github.com/DQNEO/minigo/stdlib/fmt" => "/stdlib/fmt"
"./mylib"      => "./mylib"
"github.com/foo/bar" => "$GOPATH/src/github.com/foo/bar"
package main
import (
	"github.com/DQNEO/minigo/stdlib/fmt"
	"github.com/DQNEO/minigo/stdlib/io/ioutil"
	"github.com/DQNEO/minigo/stdlib/path"
	"github.com/DQNEO/minigo/stdlib/strings"
	"os"
)
func getGOPATH() string {
	envgopath := os.Getenv("GOPATH")
	if envgopath == "" {
		return os.Getenv("HOME") + "/go"
	}
	return envgopath
}