Add simple dimension support to the multidispatch arrfunc

The first implementation of dynd's multidispatch only worked with scalars. This adds in enough support to also work with dimensions in many cases. The implementation is still preliminary, and will need to continue to improve over time.