Flask version of Dwarfr, the Redis-backed URL shortener.