fixes #7 - setDomainPermissions() allows re-setting of current direct domain permissions when grantor does not have granting rights and adds test cases for this
fixes #8 - setDomainCreatePermissions() allows re-setting of current direct domain create permissions when grantor does not have granting rights and adds test cases