fix types of broadcast ops with Bool arrays
use Float64 as the default float type for small integers instead of
  Float32
fixes some of the issues in #3274
Merge branch 'master' of github.com:JuliaLang/julia