hostingsvcs.bitbucket : Add optional api version argument to _build_api_url

We want to be able to use Bitbucket API versions 1 and 2.

Testing Done:
hostingsvcs tests.Bitbucket pass

Reviewed at https://reviews.reviewboard.org/r/5445/