Added consistent handling of urlpattern, and output file extensions
Added default output file extension
Cleaned up slugify subroutine documentation
Added urlpattern and extension variables to site and page definitions