Added validation for Exchange XML.

Minor changes to ObfuscatorManager and exchange.h in CommonModule.