fix mapslices for matrices of other types than numbers.
	modified:   base/abstractarray.jl
more tests for mapslices
	modified:   test/arrayops.jl
Merge pull request #5529 from mschauer/mapslices2

Mapslices to accept non-Number, non-AbstractArray functions