Signal improvments

Move signal to pkg + use strings instead of signal number to allow cross platform signal forwarding. An error is thrown in case of unknown signal.