Efficient get_dim_size for arbitrary dimensions

This implements an efficient method get_dim_size(i) to get an individual dimension, as discussed at https://github.com/ContinuumIO/libdynd/issues/78
Changed.