Modify RazorView to be instantiated via TypeActivator

Partial fix for #889