Added code for bit.ly shortening - just gets JSON for now
shorten() now handles errors, and parses output using the `json` npm module