Changed getSitemapHtml to use link_to for link generation instead of
a string.

Add callback to render all pages once sitemap is ready.
While iterating over the sitemap, url_for compiles a list of what
pages link where.