Teach repository to use relative paths for git symbolic links

When cloning submodules, git can place the sub repository inside the parent repository's .git folder, instead of with sub repository's working directory. It links these two through a "git symbolic link". libgit2 already had support for most of this, but it always created the links using absolute paths, where as git creates relative paths.

This change is to allow the creation of repositories with separate the repository and working directories and calculates a the relative path between them.

TODO:
- [ ] Better names for functions?
- [ ] Detect cases when relative paths would not work, and fallback to using absolute paths? (e.g. initializing a repository where the repository and the work dir are on separate drives?)
- [ ] Update Changelog.md
What should be the outcome of 

- test_make_relative("??", "/path/to/foo.c", "d:/path/to");
- test_make_relative("??", "d:/path/to/foo.c", "/path/to");
- test_make_relative("??", "/path/to/foo.c", "/");
- test_make_relative("??", "/path/to/foo.c", "not-a-rooted-path");
- test_make_relative("??", "not-a-rooted-path", "/path/to");