Fail fast and with meaningful message when layout is missing

When someone forgets to precompile or specify the template, RazorEngine
should fail fast and with meaningful exception
Use static field to allow custom references in template compilation (improved mono support).