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

Related to issue #828 and some others.
Ah, @pitrou just got to that a bit quicker than me!