HDFS-5673: refactorings and clean-ups in AclTransformation.