adding postgresql recipes and tests

adding postgresql support to stack_commons