libsmack: internal implementation of hash table

Use hash table implemented internally for dictionary of labels.
Thanks to that some operations are more efficient:
-it is possible to use better hashing function than in hsearch.
-it is possible to calculate hash during label validation.