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

@NTaylorMullen 
Sorry my comment may have been a little bit criptic. You do the right thing for the most part in your change set but your change set also makes the existing writes fall out of place.

For instance there were two existing signatures `Write(object)` and `Write(string)`. Both of which call into `WriteEncoded` which bypasses the `WriteTo` method signatures. You can technically now remove the `WriteEncoded` method and have them call into your `WriteTo(string)` overload which does the same thing as `WriteEncoded` and removes one call path which you no longer need to worry about :smile: