Add special Git resolver for BitBucket

This commit adds a BitBucket resolver for packages hosted on BitBucket
with shallow cloning. It includes everything the GitHub resolver
includes but for BitBucket.

Ref.: #1564