updating the page generator and base view to work with razor helper functions

@NTaylorMullen 
I have `WriteLiteralTo(TextWriter, string)` as the final method getting called (with the exception of one `Write` method which I overlooked). In MVC the `WriteLiteral`'s are separate from the `Write`'s