Add kernel functions to kernel module and make it part of the shell sample. Change-Id: If5e8ff8ce7b8edbbb8d62509964700b007eaf88b Signed-off-by: Anas Nashif <anas.nashif@intel.com>