Add timeout when calling bit.ly API

Had some issues when bit.ly didn't respond in a timely manner so I added an optional and configurable timeout in seconds when calling their API.

Only added it for the version 3 API since version 2 is deprecated (and should not be used).

This commit fixes issue #23

Cheers,