Fix and unit test for CMIS-743 in which cmislib was failing to check out a doc after being fetched by ID

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