Add bloom filter

This PR adds the bloom filter data type and functions.
It also contains adjustments to the AVL data structure.
Nope, this will _not_ be overridden by users.