remote-hg,bzr: conform more to pep8

Reported-by: William Giokas <1007380@gmail.com>

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
More pep8 fixes

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Split multiple import lines

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>