Add bloom filter

This PR adds the bloom filter data type and functions.
It also contains adjustments to the AVL data structure.
Nope, I'd rather keep comments short.
If I were to explain this algorithm in the source code, you'd have a perfectly dense wall of text.