Add policy related to a new user

When a new userId is received as a parameter, a new
policy is added to the policy set

Jira-issue: WP-1158
Removed workaround for subject id attribute

Also replaced isConnected with getPZHId

Jira-issue: WP-1158
Merge pull request #7 from ccameroni/WP-1158-add-new-user-policy

WP-1158 Add policy related to a new user