Add storage_dtype and category_dtype properties to the categorical dtype
Some tweaks and fixes to the categorical type