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
It would be nice to include the type and which dimension's size was requested in the error message, I could imagine tracing back this error message being somewhat inscrutable.