Layout specification and discovery should follow the same behavior as partials

Fixes #1047
ick.  do we have an issue (perhaps with low priority) to move away from `Found`, `NotFound`, `Failure`, ... `static` methods?  striking that `ViewEngineResult` and `RazorPageResult` are created in different ways but contain such similar information.