Simplify array creation.

ones, zeros, empty, random creation, etc. all accept either a shape
tuple or a Distribution object.  Matches NumPy API more closely.