Fix link issue in network examples
Added an oid function that accepts nul-terminated strings
Added test case for new function
git_oid_fromstrn already sets a maximum on the length of the string
Clarified string value
graph: make the ahead-behind docs clearer

Explain it in local-upstream branch terms so it's easier to grasp than
with the `one` and `two` naming from the merge-base code.
Update to latest Clar
Update cl_assert_equal_sz to be nicer

This makes the size_t comparison test nicer (assuming that the
values are actually not using the full length), and converts
some cases that were using it for pointer comparison to use the
macro that is designed for pointer comparison.
Add cl_repo_set_bool and cleanup tests

This adds a helper function for the cases where you want to
quickly set a single boolean config value for a repository.
This allowed me to remove a lot of code.
Merge pull request #1432 from arrbee/update-clar

Update clar and some test helpers clean up
Remove GIT_SUCCESS from documentation
opts: allow configuration of odb cache size

Currently, the odb cache has a fixed size of 128 slots as defined by
GIT_DEFAULT_CACHE_SIZE. Allow users to set the size of the cache via
git_libgit2_opts().

Fixes #1035.
Merge pull request #1435 from mcanes/development

Remove GIT_SUCCESS from documentation
Merge pull request #1427 from Lionelon/development

Fix link issue in network examples
clar: Disable online tests. By now.
Merge pull request #1428 from xavier-l/nul-terminated-oid

Nul terminated oid
oid: Do not parse OIDs longer than 40
Add has_cr_in_index check to CRLF filter

This adds a check to the drop_crlf filter path to check it the
file in the index already has a CR in it, in which case this will
not drop the CRs from the workdir file contents.

This uncovered a "bug" in `git_blob_create_fromworkdir` where the
full path to the file was passed to look up the attributes instead
of the relative path from the working directory root.  This meant
that the check in the index for a pre-existing entry of the same
name was failing.
Added some tests for issue #1397

Signed-off-by: Sven Strickroth <email@cs-ware.de>
Test fixes and cleanup

This fixes some places where the new tests were leaving the test
area in a bad state or were freeing data they should not free.
It also removes code that is extraneous to the core issue and
fixes an invalid SHA being looked up in one of the tests (which
was failing, but for the wrong reason).