CMIS-609: check for hasMoreItems flag when iterating

git-svn-id: https://svn.apache.org/repos/asf/chemistry/dotcmis/trunk@1432968 13f79535-47bb-0310-9956-ffa450edef68