use size in hashing AbstractArrays

make hashing test stricter to also check for collisions. there shouldn't be
any for these simple cases.
Merge branch 'master' of github.com:JuliaLang/julia