Fixed usage of maven properties.
Improved performance of DOM traversing (see #330).
Avoided iteration of all children of a node if no changes to the children array have been done during the processing of previous children.
Merge branch '2.1-dev' into 3.0-dev