Use SimpleXML for XML construction.

Replace instances of XML-by-string-concatenation with SimpleXML-based construction. This also makes evident some redundancy in templates/full-sitemaps.php which should be addressed in the future.
Fixes #28
Merge pull request #48 from pcrumm/simplexml-generation

Use SimpleXML for XML construction.