HDFS-5758: restore AclTransformation#filterExtendedAclEntries, use it in FSDirectory#removeAcl, clean up unused variables in FSDirectory, more tests.