validate: Improve perf when writing the XML file

+ Pass the file into gst-indent
validate: Properly use boolean in XML
python: change shebangs to python2
httpserver: launch webserver with the same python interpreter.