Allow redirects to use same host
Properly parse urls that include protocol://
Ignore files that disappear while iterating

On occasion, files can disappear while we're iterating the
filesystem, between calls to readdir and stat.  Let's pretend
those didn't exist in the first place.
Merge pull request #1869 from ethomson/fs_iterator_race_2

Ignore files that disappear while iterating
Disconnect path string to preserve after redirect

The subtransport path was relying on pointing to data owned by
the remote which meant that after a redirect, the updated path
was getting lost for future requests.  This updates the http
transport to strdup the path and maintain its own lifetime.

This also pulls responsibility for parsing the URL back into the
http transport and isolates the functions that parse and free that
connection data so that they can be reused between the initial
parsing and the redirect parsing.
Prevent HTTPS to HTTP redirect
Merge pull request #1871 from libgit2/cross-protocol-redirects-alt

Alternative fix for cross protocol redirects
Make tests pass if XDG config exists
Merge pull request #1872 from libgit2/config-isolate-xdg

Make tests pass if XDG config exists
Cleaned up some tables in checkout-internals doc

The markdown wasn't rendering correctly.
Fixed formatting of diff-internals.md

Indentation for lists was not working correctly.
Merge pull request #1874 from mikeando/doc_cleanup2

Fixed formatting of diff-internals.md
Merge pull request #1873 from mikeando/doc_cleanup

Cleaned up some tables in checkout-internals doc