Allow calling `array` or `asarray` on DistArrays.
Add a test for __array_interface__.
Refactor __setitem__ into functions.
Do some renames for readability.
Merge branch 'master' into refactor/setitem
Test setting ndarray slices with distarrays.
Make sure dtype is cast to a numpy dtype.
Test some more.
Simplify _set_view with new local Dist.global_slice
Use apply instead of execute in _create_local.
Merge branch 'refactor/use-apply-in-_create-local' into feature/test-0d-arrays
Fix empty, ones, zeros for 0d.
Fix fromndarray for 0d arrays.
Test 0d array getitem with empty tuple.
Remove useless line.
Merge pull request #473 from enthought/feature/enhance-distarray-to-array-conversion

Enhance distarray to array conversion (implement `__array_interface__`)
Merge pull request #474 from enthought/refactor/setitem

Refactor setitem
Fixes issue #416.

Checks array dtypes before reducing, and if reducing a boolean array,
coerces to MPI-friendly dtypes accordingly.  Affects `min`, `max`, and
`sum`.
Fixes #436.

`local_from_global()` and `global_from_local()` now take sequences
rather than *args.

Also removed an unused method on `GlobalIndex` and made a related
`GlobalIndex` method internal.
Unskip 0d ellipsis array test.  Fails.