Close #378, #233 Use gem command to download gem and spec.

* Closes #378, #233 Use gem command to download gem and spec.
* Uses the gem external command download gem file and gem spec.
* Allow downloading prerelease versions via `--gem-prerelease` flag.