remove undefined exports. fixes #4703

also store "ans" in Main instead of Base. it is part of the current session,
not the library
Merge branch 'master' of github.com:JuliaLang/julia