Added initialize/finalize events to CoroutineInterface, added KernelApiInterface::finally_() (fixes #64)