Fix case insensitive matching in isc_ht hash table implementation
The case insensitive matching in isc_ht was basically completely broken as only the hashvalue computation was case insensitive, but the key comparison was always case sensitive.
Closes #4568 (closed)
See also #4234 (closed)
Edited by Michał Kępień