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