git-remote-bzr fixes

This are a couple changes needed to convert Stoq from bzr stoq git.

It implements basic rename and adds fixes up a couple of bugs
in older bzr versions.