Added Coverity Fixes
Fix dependency issue in apidoc, depends on server as that is where ApiXmlDocWriter lives
Fixed Coverity Issues Reported
Fixed a simple coverity issue
Fixed Coverity Issues Reported
Fixed Coverity Issues