Fix nil blob mode

Bad blob entry keyword is used, so the blob mode is nil everywhere.

This PR fix that and add some tests about filemode (regular / executable / symlink).

The following Merge Request must be accepted to have spec working well: https://gitlab.com/gitlab-org/gitlab-git-test/merge_requests/1

Thanks.
Line is too long. [98/80]<br>Prefer single-quoted strings when you don't need string interpolation or special symbols.