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

...the kernel.jl file. This allows for IJulia precompilation.
Presumably you wanted the config to change during the second init (or you would have done this at the top level and not in init), so they aren't const / can't be declared as const.