additional common.is_*_dtype tests in core.common
unify common.is_*_dtype type extraction
make better use of dtype tests in nanops