Handle scopeId=-1 properly, which indicates current caller domain or
account.
Optimize fix for CLOUDSTACK-5987.
Fix an AclEntityType cast bug.
Fix Path cannot be null error in creating ACL Policy.