test: simplify python path stuff

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
test: simplify testgitifyhg hack

Move it to the 'test' directory so it's clear what's its purpose, and
rename it so the tests use less hacky URLs.

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