pkg2: rollback on resolve failure, better handling of unknown packages.
Merge branch 'master' of github.com:JuliaLang/julia
convert(Rational, x::Float32) => Rational{Int32} on 32-bit platforms.

Pull-request #3447 has a different fix for this and some other issues.