Clojure: move code for hooking up core function calls into the core library itself

This code was being duplicated here and in Closer's own REPL, and the runtime is kind of useless without this glue, so I moved it in there.