Fixes grid_shape-related bug in LocalArray.from_dim_data.
Full support for block-cyclic added to client and local maps.
Get logic right when computing the local_size of block_cyclic.
Fleshes out test to check for local_shapes.
Allow _santize_indices() to pass numpy integer types.
Merge pull request #270 from enthought/bugfix/fix-grid-shape-from-dim-data

Better support for block padded and block cyclic distributions
Remove some unused cruft.
One character fix to close issue #258.

Also a small PEP8 change.
Refactor make_grid_shape and optimize_grid_shape to 1 thing.
Remove test for unused function
Add tests for new 1's in grid_shape stuff.

Some PEP8 too.