Correct a stale reference to GIT_EBAREINDEX
Fix skipping content of contained repos

When doing a diff for use in status, we should never show the
content of a git repository contained inside another one.  The
logic to do this was looking for a .git directory and so when a
gitlink plain .git file was used, it was failing to exclude the
directory content.
New tests of status for repo inside repo
Merge pull request #2233 from libgit2/rb/fix-untracked-repo-status

Skip untracked contained repo contents even with gitlink files
Give the correct name for the function in the doc.

Per @carlosmn, git_index_add is now named git_index_add_bypath.
Merge pull request #2231 from libgit2/fix-memory-index-doc-comment

Correct a stale reference to GIT_EBAREINDEX