Data types are not case-sensitive, and the current data type conversion assumes that the types are all lower-case. Although this is currently the case for most (all?) of the Wordpress core, it is not the case for all extensions (e.g. nextgen-gallery). Make data type conversion case-insensitive. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>