doc, quickly provide C API example for high-level pmml_wait() and pmml_noti()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>