Rewrite DOOM's replaceChild implementation using existing primitives. This also fixes a couple of issues.


git-svn-id: https://svn.apache.org/repos/asf/webservices/axiom/trunk@1612425 13f79535-47bb-0310-9956-ffa450edef68
Remove unused code.

git-svn-id: https://svn.apache.org/repos/asf/webservices/axiom/trunk@1612426 13f79535-47bb-0310-9956-ffa450edef68