base: make signal framework usable for base-hw

ref #641
base-hw: destroy signal contexts, generic signal.h

fix #641