make unique preserve order. fixes #3174
Merge branch 'master' of github.com:JuliaLang/julia