"dimdict" -> "dim_dict"
Move function to it's own file and correct it.

Also clean it up some.
Add functions to compute the number of owned indices...

from a dim_dict for any dist_type.  Refer to these provided functions in the protocol
Merge pull request #96 from enthought/bugfix/size-function

Add functions detailing how to compute num_owned_elements from a dim_dict