Add BUILD_NUM macros.
Add BUILD_NUM for VERSIONINFO
Add the build number generate tool.
Updates for Xml, Outline build number tracking, small fixes.