Single-case handling

Collection needed an upgrade to handle an API response where there was
only a single case.
Merge branch 'master' of https://github.com/GregoryCollett/Processmaker-WS-Wrapper