IDEX-1619: added FromElementFunction and methods for mapping
IDEX-1619: added private constructor
IDEX-1619: added useful methods
IDEX-1619: Added ability to replace element with new one
IDEX-1619: made replaceWith not permitted on root element
IDEX-1619: added Element#setChild method
IDEX-1619: added not empty content check
IDEX-1619: added doc
Merge branch 'master' into IDEX-1619
IDEX-1619: added CDATA test
IDEX-1619:
Merge branch 'IDEX-1619'