hm2-idrom test:  dump error logs to stdout on failure

stdout and dmesg are the only debug channels on buildbot.

Also, fix .gitignore of test artifacts.
realtime.in:  exit anywait() after 10 seconds and kill msgd if still running
examples/rtapi/shmdrv/mutexwatch: fix compilation nit
src/Makefile: fix compilation error on x86/wheezy

a fragment of Jeff's fixes got lost