Extended url shortening/expanding capabilities

Implemented the ability to expand any short url. Can you please review this @dinhviethoa ?
Thanks,
matt
nit: try to fit the comment on 80 columns before breaking lines.