Moved uchar et al into the cv namespace, to reduce global namespace pollution.

For compatibility, they're imported back into the global namespace
if the C API is used.
Fixed TIFF headers being included from the cv namespace.