Refactored Annotations.

They are now called ClassPermission and ObjectPermission.
Added MaskHierarchy. Its like RoleHierarchy but for permission masks.