Fixed compile error: memcpy not defined
Resolved NULL for unsigned int compiler warning.
Resolved a number of compiler warnings regarding return values

Specifically the return values of git_index_find and
git_odb_read_header.
Merge pull request #89 from FrozenCow/fix_compile

Fixed compile error: memcpy not defined