Pass the Distribution object into from_localarrays.

This gets around the fact that `n` maps are translated into `b` maps on the Local side.
Add some tests of the output distribution.
Merge pull request #460 from enthought/bugfix/443

Fix #443