Allow templateSettings in compilation

Specify templateSettings in grunt task to allow passing down to
compilation