jiri: Implement new remote imports mechanism.

The existing remote imports mechanism has lots of flaws.  Here's
an attempt at a new implementation that has a chance of working.

MultiPart: 1/2

Change-Id: Ifbe280aa8fb32529e4af1e729890a0edca26ede0
13 files changed