Adds wait for hg and bzr locks

Now you can have parallel installs and waits for the three vcs.
Since I added the parallel install it only makes sense to fix possible race conditions with all the supported vcs :hand: