Changes to support PageExecutionContext (Browser Link) in Razor

Fixes #1083
to instrument rendering of a web page