resolves #66 assign doctype to body class

I would like to add a test for this one, but I'm not sure how to get the rendered HTML in the test. @Mogztter could you advise? I'd be happy to add the test.