cmd/compile: add -importcfg to specify import resolution
cmd/compile: add -importcfg to specify import resolution

Allows reading -importmap options from a file instead of putting
them all on the command line, and adds the ability to specify the
file location of specific packages. In effect, -importcfg is a generalization
of and supersedes -importmap, -importsuffix, and -I.
Of course, those flags will continue to be supported,
for compatibility with other tools.

Having this flag in Go 1.9 will let us try some experiments involving
package management without needing guinea pigs to build a
custom Go toolchain.

This flag also helps with #14271 at some later point.

For #20579.

Change-Id: If005dbc2b01d8fd16cbfd3687dfbe82499f4bc56
Reviewed-on: https://go-review.googlesource.com/44850
Run-TryBot: Russ Cox <5ad239cb8a44f659eaaee0aa1ea5b94947abe557@golang.org>
Reviewed-by: Ian Lance Taylor <87e9c6d529889242b7e184afb632328636553ab4@golang.org>

CAFxX/go,golang/go,Cofyc/go,josharian/go,CAFxX/go,polyverse-security/go,cloudflare/go,golang/go,polyverse-security/go,golang/go,polyverse-security/go,akutz/go,ImJasonH/go,golang/go,polyverse-security/go,akutz/go,ImJasonH/go,ImJasonH/go,cloudflare/go,codestation/go,codestation/go,nawawi/go,codestation/go,Cofyc/go,nawawi/go,akutz/go,akutz/go,nawawi/go,polyverse-security/go,cloudflare/go,CAFxX/go,ImJasonH/go,golang/go,vsekhar/elastic-go,cloudflare/go,vsekhar/elastic-go,codestation/go,nawawi/go,vsekhar/elastic-go,josharian/go,vsekhar/elastic-go,josharian/go,cloudflare/go,Cofyc/go,Cofyc/go,ImJasonH/go,Cofyc/go,CAFxX/go,cloudflare/go,nawawi/go,ImJasonH/go,codestation/go,codestation/go,nawawi/go,CAFxX/go,josharian/go,christopher-henderson/Go,polyverse-security/go,golang/go,codestation/go,vsekhar/elastic-go,codestation/go,CAFxX/go,ImJasonH/go,CAFxX/go,akutz/go,polyverse-security/go,Cofyc/go,vsekhar/elastic-go,josharian/go,cloudflare/go,josharian/go,polyverse-security/go,Cofyc/go,vsekhar/elastic-go,vsekhar/elastic-go,josharian/go,CAFxX/go,cloudflare/go,akutz/go,golang/go,nawawi/go,akutz/go,ImJasonH/go,akutz/go,nawawi/go,josharian/go,Cofyc/go,golang/go