DomTextComponent created

And small refactoring done.
Attributes and text component html escaping, register dom component rebuild