New methods / Small fixes

- Introduced some new methods (getAssignee, transitions)
- changed "labels" to "Labels"
- Using json_encode for PUT requests