add sigaction metamethod
redo sigaction using types
define signal in terms of sigaction
add test for function signal handler