[Bazaar] Add Bazaar support

This is the same changes from my original pull request (https://github.com/CocoaPods/CocoaPods/pull/1531) with the noisy travis-ci commits squashed into a single commit. I suggest we abandon the bar branch and pull from this one.