core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable
core: use size of 32 for hashtables (instead of 4, 8 or 16)

A size of 32 will use a little more memory but will reduce collisions in key
hashs, and then length of linked lists inside hash structure (faster search in
hashtable).