[MERGE] refactor to syscall.c/.h

Signed-off-by: David Goulet <dgoulet@efficios.com>
[MERGE] Remove duplicate from session syscall list

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