refactoring kernel and user apis. putting the common code in xio_base.h
user specific api in xio_user.h and kernel specific api in  xio_kernel.h

Change-Id: I8560b3f739c3da0a14bd859069f675db3c821a34
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>