fix #6008, test_approx_eq with non-finite arguments

require exact match of non-finite values

exclude Inf when determining a default Eps
  this might not make sense, but it feels right for testing purposes

there was a test in linalg2 that relied on the old NaN behavior;
  somebody should look at this
Merge branch 'master' of github.com:JuliaLang/julia