ginstall: support reading tar from stdin.

Also add unit tests for the helper method we use to resolve URLs and
paths given on the command line.

Change-Id: I6adf3e9b091571ff93e55e4dc638024ebf3af91c
2 files changed