Added phpdoc on all getters

This simplifies the usage of the SDK by allowing IDEs to provide autocompletion rather than having unknown types everywhere.

I also added the array initialization of array properties, to ensure that they are always arrays even if the serializer does not set them for some reason (the incomplete Analysis returned in ``getAnalysisStatus`` for instance).
I think we can expends the doc for refenrence to something like:
`reference is a git reference. It can be a SHA, a tag or a branch name. Exemple: 'cc5b6e5720d2e289eb73dee9523c07761b983ed0' , 'v1.1.1', 'fix-typo'`