tests/bitops.0/test.sh:  change include dir to /include from /src/rtapi

Theory:  tests ought not to depend on anything in /src/
hm2-idrom test:  fix "too many arguments" error

Introduced by Y.T. in c6b87eec.  :P

From build log:

+ test -f realtime.log.0 realtime.log.1 realtime.log.10 realtime.log.11 [...]
test.sh: line 29: test: too many arguments

(Also, fix difficult-to-read test)
realtime.in:  recursively remove kmods and depending modules at unload

In kthreads flavors, when the realtime environment crashes badly
enough (e.g. linuxcncrsh starts during runtests but the test fails for
other reasons), 'trivkins', 'comp', and other modules that depend on
hal_lib and rtapi may be left loaded.  In this case, hal_lib and rtapi
cannot be unloaded without first removing those modules.

The RemoveModules function removes a list of modules recursively by
finding dependent modules in /proc/modules and removing them first.
runtests script:  run with 'bash -e'

Without '-e', runtests can exit 0 when tests didn't actually run.

This was observed when the /tmp filesystem became full, and
$TMPDIR/alltests couldn't be written.
mesa-hostmot2 driver:  Remove int->double conversions

Fixes 'Unknown symbol __fixunsdfdi' on 32-bit gcc-4.[34].x kthreads

Also see:

http://permalink.gmane.org/gmane.linux.distributions.emc.user/18718
http://permalink.gmane.org/gmane.linux.distributions.emc.devel/3663

(Several more in components/lcd.c parse_fmt() that'll be harder/uglier
to squash)
check-system-configuration.sh:  check for common problems

Instead of installing /etc/rsyslog.d/linuxcnc.conf,
/etc/security/limits.d/linuxcnc.conf and
/etc/udev/rules.d/50-LINUXCNC-shmdrv.rules from Makefile in RIP
builds, run the check-system-configuration.sh after 'make setuid' to
check for these configuration problems.

At the same time, add those missing files to non-RIP installs.

check-system-configuration.sh is the former check-logging.sh, renamed
and extended.

(This also fixes these files not being installed by $(FILE) and thus
world-readable, a problem with buildbot's funky 077 netmask.)