PLINK-268 refactor PermissionHandler SPI
PLINK-268 fix checkstyle errors, compiler issues - thanks TravisCI!!