fix XMLTemplate

decode HTML entities (not used by default)
fix cApplication

load document by template function (html entities is ignored)
Update XDocument

add out method
update cXMLTemplate

- decode HTML  entities only (true by default)
- add htmlentities_only method
add CSS layout exemples