Add bloom filter

This PR adds the bloom filter data type and functions.
It also contains adjustments to the AVL data structure.
This is a perfect case why I prefer using non-C99 comment style. It just looks ugly this way.