[WIP} Added a WIP array.mean() implementation.

Related to issue #828 and some others.
Which others? `arr.dtype` here is the dtype attribute of `types.Array` objects, which points to a Numba type object, not a Numpy dtype. Numba types in general have more information than Numpy dtypes (see types.py).