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
This test is actually redundant, because if "i < get_ndim()" is true, then get_ndim() > 0, which none of the built-in types satisfy.