Updates forced by test failures

Added new APIs, fixed improper buffer handling in push

Modified: src/include/pointer-stack.h
Modified: src/pointer-stack-io.c
Modified: src/pointer-stack-optimization.c
Modified: src/pointer-stack.c
Modified: src/test/ps-test.c