Generalized Portlet Resoure permission.
This code was partially inspired from articles from:
Mask used for determining what actions are allowed or requested.
Constructor for PortletPermission.
Overrides Permission.newPermissionCollection().
Permission.newPermissionCollection()
Parses the actions string.
Actions are separated by commas or white space.