Add support for running in arbitrary base URLs
Fix generating diffs between trees using recent pygit2 versions
Merge branch 'jannispohlmann/base-url-support'

Signed-off-by: Jannis Pohlmann <jannis.pohlmann@codethink.co.uk>