Improve makefile

Make a number of changes to improve the use of autotools and simplify building against external Go sources. Minor breakage to packager scripts, as they will now need to set VENDOR_GOPATH to the location of their copy of `go get` packages.