add debug.OnShutdown global parameter
doc: describe new global paramters
add messages when using new debug system

Conflicts:

	configure.ac
remove debug code
Merge branch 'v7-devel'