Update with-analysis middleware to require a ClojureScript compiler env.

This allows callers to pass in, e.g., an environment that has been
side-affected by analysis of cljs.core.