juliatypes.jl: a fix for unions
Merge branch 'master' of github.com:JuliaLang/julia
fix #9088, staged functions and default arguments

when multiple methods (for keyword or default args) are generated,
only the one with the original code should be staged.