Refactored stack implementation, fixed bug in management.
Updates and bug fixes to minitester framework.
Added unit testing for cdk_stack.
Updates to safemem pointer register.
Updates to cstring creation and release.
Changes tracking updates to safemem.
Small changes to unit tests.