Consume MvcRazorHostOptions from the service container if available

Fixes #774
line length