Move IJulia globals into an init(ARGS) function that can be called from ...

...the kernel.jl file. This allows for IJulia precompilation.
Ah, that does make it a little trickier. Do I just need an `isdefined` then, @vtjnash?