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

@NTaylorMullen 
`WriteTo(Output, value);`

It will do the tostring for you :smile: