zk-issue-47

change permission constants (same with zookeeper native perm number and use bit shifting)