Fixes for Unicode Errors and Index Pagination

Encoding to ascii with xmlcharreplace has been removed in favor of
setting the charset in the head of the html. This preserves emoji and
certain unicode characters that have no ascii conversion. Index
pagination has been fixed along with the navigation links at the base
of each index page.