Add url shortening views

Prepend s/ to any path and a short url starting with S/ gets created and
displayed. Also integrate the short url functionality with the composer