POM: strip comments and replace CDATA sections for parser

Also verify that requested text nodes have no children
Add maven_depmap test for parent version

If groupId and version are omitted then appropriate entries form
parent should be used.
Fix test_cdata-want.xml
Deduplicate name of testcase

Also fix test for unexpected sub-elements in text nodes