Fixed some bugs. Updated methods described below:

- Changed signature of addSubject (policy). It doesn't require anymore policyId parameter
- Renamed updateAttributes to updateAttribute for policy and policyset objects
- Changed toJSONString in toJSONObject for policy and policyset objects

Jira issue: WP-932