Consume MvcRazorHostOptions from the service container if available

Fixes #774
scoped