Adds support for numpy number and dtype in _to/_fromdict

Supports numpy.number and numpy.dtype objects when running the _todict and _fromdict functions of Dictable