Add initial BitBucket support. Had to pull some repo object processing into provider classes.