pkg2: improvements to machinery to add and rm requirements.
Merge branch 'master' of github.com:JuliaLang/julia