Add a trace mode.

If the -x option is used, or the PLUGINHOOK_TRACE env var is non empty,
pluginhook will log calls to hooks on stderr.