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).