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
Merge pull request #1428 from xavier-l/nul-terminated-oid

Nul terminated oid