Add prefilter option

When the engine is `lodash`, the default prefilter puts the variables `_.templateSettings.imports` into the template scope, otherwise it's a noop. With tests!