Layout specification and discovery should follow the same behavior as partials

Fixes #1047
suggest updating all code from here to end of class to avoid the word "view".  current switches between `pageName` and back to `viewName` aren't helpful.