ha-libs: added ha_debug.h
ha_system: initializations are based on HA_CC and HA_NODE definitions