replace MethodError in which()

formatting fixes
Merge branch 'master' of github.com:JuliaLang/julia