rewritten sitemap function

the sitemap can now be used as a smarty variable
{fc_sitemap}

Signed-off-by: Patrick Konstandin <support@flatfiler.de>