Add a template for sitemap generation

@sethladd 

Also added tests and turned on tests on Travis.
loc needs to be a fully qualified URL, beginning with http or https