Ensure pragma checksum is prepended to generated file

Fixes #160
Actually even better, the rest of the tests verify that your pragma checksum is being generated so all you really need to test is that it's still generated for a non-seekable stream, forget the end output, provide your own `RazorTemplateEngine`, override `CreateCodeBuilder` and verify the checksum on the context.