Make view extension a configurable behavior of ViewEngine

Fixes #890