#JC-1869:Questions permissions:
*Corrected permission comparator. Now it compares permissions by their masks. Also comparator class now public static