Implementation of BitBucket V2 API

Not complete yet, at least the following needs to be added:
* more tests
* documentation
* integration with configuration
* integrate API V1 and V2 better