SHDP-230 Fix MiniDFSCluster permissions in tests

With this tweak we're basically first checking what is
users umask using Hadoop's classes. If we're able to do
that we set it into configuration which is then
checked by minicluster. This way DataNode's internal
methods always get what it expects.