Added hash functions and bit array functions to psql sources. Needs to be tested.