Rework and extend the unicode branch/ref name tests. Fixes #361.
Merge pull request #372 from libgit2/arthur/fix-unicode-tests

Rework and extend the unicode branch/ref name tests.