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

@NTaylorMullen 
Rewrite the call throughs of your Writes, WriteTos etc. to all call into this method as a final method. That's how it's done in MVC and reduces the number of potential call paths since they all converge: 

https://github.com/aspnet/Mvc/blob/dev/src/Microsoft.AspNet.Mvc.Razor/RazorPage.cs#L203-L303