[BUILD] Update Rakefile with procedures to check presence of bzr and hg.
Remove extraneous output.
Merge pull request #1768 from swizzlr/bootstrap

[BUILD] Update Rakefile with procedures to check presence of bzr and hg.