run gui editors using spawn instead of run.
add kate support, should fix #2994
Merge branch 'master' of github.com:JuliaLang/julia