Moved xmlTemplate to own script

The XMLTemplate depends on knockout and I did not want that in the
script of my library functions (xml2json, json2xml, jsonDump).