Better exception handling

Checks response from bitly api and throws custom exceptions when necessary.

http://dev.bitly.com/formats.html