Change Text, Comment and ProcessingInstructions parent name from element...

... to characterdata

All other node's parent type names reflect the actual type of the parent. This change extends that convention to the indicated nodes.

closes #1594