Better Razor Compilation Diagnostics

This commit allows "Show Complete Compilation Source" for Razor pages.
This commit improves upon #561.

Note: Only added support for the Razor2 project.