Set Content-Type's for xml and json, not for text

If the content-type for text is set it will download it,
instead of showing it in the browser.
Merge branch 'master' of github.com:miekg/lg-dns
layout
Fix todo