Added constants for visiblity, state and priority to ApiClient class
Correctly handle request exceptions in API client
The data is an array, not an object
Check mandatory-ness of model properties (relevant when creating a project object)
Add previous exception to ApiException
Renamed getResponse method
Always ask for JSON format
Must include model type in the POST keys
Updated docblock for Task
Added option to fetch detailed result from API
Validate mandatory fields for a task