make loadExports function override-able
add mkindex.go

This tool builds a pkgindex.go file that makes it possible to construct
an entirely stand-alone goimports package (usable on App Engine or in
other contexts where GOROOT is not available).
Merge pull request #21 from nf/master

Support for pre-built indices