Move common precompilation operations outside of files iteration
Add ability to specify mode when building autorunning templates
0.2.2