Changes to support PageExecutionContext (Browser Link) in Razor

Fixes #1083
just dispose it. If it no ops it will no op