added phpdoc
added twig for templating. will be used in the writer classes
fixed and unittested sitemap index writer