added ANY and few fix for the new postgres adapter
added ANY and few fix for the new postgres adapter

willimoa/pydal,web2py/pydal,niphlod/pydal,stephenrauch/pydal,kmcheung12/pydal,michele-comitini/pydal,manuelep/pydal