corrected text in vcmibuilder, corrected errors and warnings from cppcheck

snprintf is a secure way to do sprintf.

Changes related to CRmgTemplateZone.cpp should be reviewed by DjWarmonger, it was probably a copy-paste error or a dead logic code.

Text in vcmibuilder was a bit outdated.

According to http://www.cplusplus.com/reference/set/set/size/, both vector and set have constant complexity for size().