Use shortid module, reindent code for views/index.hjs

The shortid module is now being implemented to generate short URLs
instead of the primitive Date.now().toString(36) method. The module
ensures URL safety and is small and easy to implement.

Also, the indentation on views/index.hjs was bugging me and so I fixed
it. I have decided that I am henceforth going to indent code with tabs.
Nothing can sway me from this decision :P

Signed-off-by: Siddarth Iyer <mindstormer619@gmail.com>