remove deprecation warnings in collection test
fix deprecated dict syntax in pkg tests
make #8784 work on Mac
export deprecation alias for String
Fix test for 32 bit

The test added in #8893 shouldn't use typemax(Int), but typemax(Int64)
Merge branch 'upstream-master' into fma