Repository.CreateCommit: Allow empty refname for non-update commit
Repository.CreateCommit: Only allocate CStr on non-empty refname
Merge pull request #115 from surma-dump/feature/empty_refname

Repository.CreateCommit: Allow empty refname for non-update commit