Added hashing of unsigned char array, generic type hashing tweaks