Do not allow HDF5 to do _LOGICAL conversion

HDF5 bitfield <=> number conversion doesn't seem to match
the HDS view of the world so, for now, we do the conversion
in the library outside of HDF5.
Minor tweaks to prologue
Add missing break in switch statement
Free data type if we created one and are about to replace it