Fix the "--shorten" option
Fix the "--shorten" option

The "--shorten" command line option had stopped working since the
git.io API changed.

1. The endpoint is now "/create".
2. HTTP links result in a 301 redirect.
3. The resulting shortcode is in the response body.

Thanks-To: https://github.com/tjt263 for the hint.

defunkt/gist