Fixed all principal bugs
Changed updateAttributes to updateAttribute and toJSONString() in toJSONObject()
Merge pull request #4 from Valerio88/master

Fixed some bugs. Updated methods addSubject, updateAttribut and toJSONObject for policy and policyset objects