Precompiles Mustache templates and optionally creates AMD modules.