Fix a bug in a debug statement introduced by patch 3310250 / r20494: use %ld to print a value of type oid instead of %d.

This patch is a combination of the following to V5.6 SVN patches:

git-svn-id: file:///home/hardaker/lib/sf-bkups/net-snmp-convert-svnrepo/branches/V5-6-patches@20511 06827809-a52a-0410-b366-d66718629ded

git-svn-id: file:///home/hardaker/lib/sf-bkups/net-snmp-convert-svnrepo/branches/V5-6-patches@20512 06827809-a52a-0410-b366-d66718629ded
CHANGES: testing: After having sent SIGTERM to snmpd or snmptrapd, wait until the process has stopped before sending SIGKILL. This race condition was hit most easily when running the regression tests under Valgrind.
CHANGES: testing: Check PID file existence after having read it instead of before. This fixes the race condition where the PID file disappeared after the existence check and before it was read.
CHANGES: testing: Changed default timeout from 1s to 10s when the regression tests are run under Valgrind
CHANGES: testing: Test only once during a test whether the shell supports sub-second sleeping instead of repeatedly.
.gitignore: Ignore *.exe files generated by the Win32 build
Fix a bug in testing/fulltests/support/simple_eval_tools.sh that was introduced
in commit 938d75c.
Test harness refactoring: introduce ECHOSENDSIGTERM() and ECHOSENDSIGKILL()
CHANGES: testing: Make STOPPROG send SIGTERM repeatedly. This fixes a race where SIGTERM could be sent before the SIGTERM signal handler was set up, especially when running the regression tests under Valgrind.
CHANGES: testing: Make the SNMP_VERBOSE=1 output even more verbose.
Test framework refactoring: Introduce WAITFORNOTCOND().
CHANGES: snmptrapd: Fix a rare crash triggered by SIGTERM by moving shutdown_perl() from the SIGTERM signal handler to the cleanup code section in main().
CHANGES: Win32: winExtDLL: Invoke SnmpUtilOidFree() before SnmpUtilOidCpy(). It's not clear yet why the original code did not make snmpwalk trigger a memory leak.
CHANGES: testing: Skip test 59 if SIGHUP is not supported. Makes test 59 pass on MinGW.
Test harness: minor simplification.
CHANGES: testing: Simplify WAITFOR() in simple_eval_tools.sh. The code that handled invocation of WAITFOR() with zero or one arguments has been dropped since WAITFOR() is always invoked with two arguments.
CHANGES: testing: Remove the function WAITORDIE() from simple_eval_tools.sh since it is never invoked.
MinGW: Do not assume that kill.exe reports via its exit status whether the signalled process still exists.
CHANGES: Win32: Fix the compiler warnings triggered by the winExtDLL source code and that are triggered by the change of the "oid" typedef from uint32_t to u_long.
Test harness: cleanup - remove code that became superfluous.
Test harness: do not invoke ISRUNNING() on MinGW.
remove the 'rc' tag from the master branch status and document the file format