Type tweaks

This is an update corresponding to the type_tweaks PR on libdynd.

https://github.com/ContinuumIO/libdynd/pull/30