Merge pull request #236 from fyockm/master

use consolidate to make template engine configurable
Fixed consolidate dying on behalf of a cache=true, it needs to be cahce=memory