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

@NTaylorMullen 
Ahh, I see you pulled this from the regular WriteAttribute method above.  Does that even get called?

Does it run if you type this in your cshtml:

```
<div foo="@DateTime.Now" bar="Hello @DateTime.Now World">alksdjfl</div>
```