Fixes ejs layouts, simplifies view rendering.
Optimization to avoid rendering view twice-- relies on Express implementation detail, however.  Added explicit HARD_DEPENDENCY note to make sure this is obvious.