Added support for wat_debug as a configuration option
Fix compilation in sig_wat.c
Merge branch 'master' into asterisk-1.6