Use minidom factory methods in xml coverage generator
Use minidom factory methods in xml coverage generator

The exportToXML was creating an minidom.Element using
it's constructor, which is forbidden in the documentation:
> Applications should not instantiate the classes themselves; they should use the creator functions available on the Document object.
http://docs.python.org/library/xml.dom.minidom.html

Since python 3.4 this method no longer works (private interface change)
thus the xml coverage generation was broken.

Fix by calling the recommended method Document.createElement.

See bug: http://bugs.python.org/issue15290

Signed-off-by: Kevin Rocard <f6672397850e914591889d29dcaf9077eb1a8a4f@intel.com>

geekboxzone/mmallow_external_parameter-framework,android-ia/hardware_intel_parameter-framework,miguelgaio/parameter-framework,AdrienMQ/parameter-framework,dawagner/parameter-framework,clero/parameter-framework,android-ia/hardware_intel_parameter-framework,krocard/parameter-framework,zchokri/parameter-framework,anwarMov/parameter-framework,dbrageul/parameter-framework,01org/parameter-framework,01org/parameter-framework,Makohoek/parameter-framework,krocard/parameter-framework,01org/parameter-framework,dbrageul/parameter-framework,anwarMov/parameter-framework,miguelgaio/parameter-framework,soaresm/parameter-framework,dawagner/parameter-framework,tcahuzax/parameter-framework,dbrageul/parameter-framework,krocard/parameter-framework,mgaio/parameter-framework,geekboxzone/mmallow_external_parameter-framework,wzairix/parameter-framework,sdnnfv/parameter-framework,android-ia/hardware_intel_parameter-framework,AdrienMQ/parameter-framework,geekboxzone/mmallow_external_parameter-framework,zchokri/parameter-framework,wzairix/parameter-framework,anwarMov/parameter-framework,sdnnfv/parameter-framework,zchokri/parameter-framework,tcahuzax/parameter-framework,tcahuzax/parameter-framework,mgaio/parameter-framework,clero/parameter-framework,clero/parameter-framework,mgaio/parameter-framework,soaresm/parameter-framework,miguelgaio/parameter-framework,wzairix/parameter-framework,sdnnfv/parameter-framework,soaresm/parameter-framework,dawagner/parameter-framework,Makohoek/parameter-framework,AdrienMQ/parameter-framework,Makohoek/parameter-framework