travis: install hg/bzr only when needed

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
travis: tell git which python to use

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
travis: test for a single version of python

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