First set of case sensitive fixes

Fixes to ContentRepository. Some case problems with NodeId vs nodeId for
cmsDocument. And nodeID vs. nodeId in cmsContentXml as well as NodeId
vs. nodeId in cmsContent.