Adding support for flush points in Razor pages

Fixes #1042
https://github.com/aspnet/Mvc/issues/1050