convert with-core-cljs into a function of 2 arguments, compilers options
and the body to execute after loading core. in all the locations where
we invoke cljs.analyzer/analyze-file pass along the compiler options. in
cljs.analyzer/analyze-file compute the location of the cache file.