Extended url shortening/expanding capabilities

Implemented the ability to expand any short url. Can you please review this @dinhviethoa ?
Thanks,
matt
add:
```
if (longUrl == null) {
  longUrl = shortUrl;
}