Re #6630. More on the move from lxml to minidom.

Had to reorder parameters in the helper functions to make life a bit easier.
Re #6630. Moved algorithm_help.py to use minidom.
Re #6630. More code moving to minidom.
Re #6630. Moving the last bit of lxml to minidom.
Re #6630. Removed the need for a template qhcp file.

Now all of the files are copied into the build area
and magic happens.