fixed all errors in cda document so far and also optimized code
Merge pull request #19 from openmrs/validator

fixed all errors in cda document so far and also optimized code