allow to handle *.xml as a template
update to use cuma as template engine instead of clostache
update README and samples
fix sample _config