Adding support for flush points in Razor pages

Fixes #1042
makes sense.  the follow-up to move this into the page seems to overlap the previous TODO in this PR.  please file an issue tracking both and reference it in a TODO comment here as well.