switch from Integer.compare (needs java 1.7) to compareTo
check type of ace sid instead of acl owner sid

fixes #21