Add HelperStack

Added a HelperStack for several usecases.
In this particular commit: KeyValueArray from mysqli_result object