Small cleanups for fabtests

Add error and debugging macros to shared.h, use them in shared.c

Remove unused includes

Signed-off-by: pmmccorm <patrick.m.mccormick@intel.com>