librcl: Introduce basic event support

Signed-off-by: Pawel Dziepak <pdziepak@quarnos.org>