Centralise directory permissions within the gitaly project
Extracting these constants should make it easier to audit permissions.
I didn't want to muddy this MR with actual permission changes as well. So this should be a straight extract to package constants.