Fix: initialize context list node on creation

This is to avoid a segfault when destroying a kernel context that has
not been added to a channel.

Fixes #845

Signed-off-by: David Goulet <dgoulet@efficios.com>
Fix: add missing headers to makefile for dist tarball

Signed-off-by: David Goulet <dgoulet@efficios.com>
Fix: return EINVAL if agent registration fails

The errno value might be 0 thus not returning an error if so. It has
been seen with an unstable python agent code base which means it could
happen in the future if a third part decides to create an agent.

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] add python domain to sessiond/cmdline

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] add python commands

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] add python commands

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] fix enable-event command for python loglevel

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] Test: add python agent testing

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] python support for libconfig

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] add python domain to mi

Signed-off-by: David Goulet <dgoulet@efficios.com>