add ability to infer GOPATH from filename

Similar to GoSublime's "use_gs_gopath" setting - backtrack up the file's
path and add whenever you see a "src" directory.