Give credit to PHP for the p_readlink function in posix_w32.c
Merge pull request #1789 from martinwoodward/posix_win32-attribution

Give credit to PHP for the p_readlink function in posix_w32.c
Add new git_signature_default API using config

This adds a new API for creating a signature that uses the
config to look up "user.name" and "user.email".
New test that inits repo and make commit
Add example like "git init"
Improve isolation of new test from user environs
Merge pull request #1790 from libgit2/examples-init

Add "git init"-like example
Merge pull request #1778 from libgit2/push_tag_to_tag_test

push: handle tag chains correctly
odb: make it clearer that the id is calculated in the frontend

The frontend is in charge of calculating the id of the objects. Thus
the backends should treat it as a read-only value. The positioning in
the function signature made it seem as though it was an output
parameter.

Make the id const and move it from the front to behind the subject
(backend or stream).
odb: document git_odb_stream

Clarify the role of each function and in particular mention that there
is no need for the backend or stream to worry about the object's id,
as it will be given when `finalize_write` is called.
odb: avoid hashing twice in and edge case

If none of the backends support direct writes and we must stream the
whole file, we already know what the object's id should be; so use the
stream's functions directly, bypassing the frontend's hashing and
overwriting of our existing id.
odb: Straighten oid prefix handling
ci: Make Valgrind run on Travis
Merge pull request #1793 from libgit2/ntk/valgrind

Bring Valgrind back!
index: report when it's locked

Report the index being locked with its own error code in order to be
able to differentiate, as a locked index is typically the result of a
crashed process or concurrent access, both of which often require user
intervention to fix.
travis: really fail if the tests fail

When implementing the ssh testing, the move to the script made it so
the first test suite's exit code was ignored. Check whether the main
tests fail and exit with an error in that case.
Merge pull request #1794 from libgit2/cmn/elocked

index: report when it's locked
Merge pull request #1792 from libgit2/ntk/bug/prefix_size

odb: Straighten oid prefix handling
Merge pull request #1785 from libgit2/cmn/odb-hash-frontend

odb: move hashing to the frontend for streaming
Revparse does not handle refspecs