Simple Url Shortener Based on https://code.google.com/p/loolu/source/browse/trunk/common/lib/url/hash.py