add memory allocation wrappers.
port to the new memory API.
parens (and operator priority) matters.
add memory stub for testing allocation failures.
add return value to improve testability
memory failure coverage
re-export RAPP_CONFIG_SECTION

add explanation about why it should be public.
the test stub should not be run by default

It is useful to have and build, but
worthless to have as part of the testsuite.
add missing asserts