Use lxml to generate graphics XML and update VMTemplate to use it

Create a new module xmlutils/graphics.py to generate graphics XML and
use this new function on vmtemplate.py

Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com>