Inject view factory into console commands rather than the view itself.

Inject mustache into views view setter rather than constructor.
Add missing DocBlocks.