0.9.x url shortener

Backport of PR #158 (URL shortener) to 0.9.x branch.
Tested on syntehzize@0.9.x -
![screen shot 2014-09-07 at 00 18 35](https://cloud.githubusercontent.com/assets/1227222/4176763/e551f3a0-3613-11e4-8720-8e06c7e28f77.png)