add organizationrealm tests
package and file refactoring
scalacheck dependency added
CustomPermission for permissions