Refactor git_arrayWithStrarray: to work with all array types
Test and fix omitting NULL strings
Merge pull request #283 from libgit2/better-array-with-strarray

Refactor -git_arrayWithStrarray: to work with all array types