Fix versioningState bug so that "not set" is allowed for versionable document.

Fix CmisSync upload error to NemakiWare.