Adds both kernel and user space test code for the events API. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>