configure.in:  don't fail if libmodbus3 not found

If libmodbus is not found, instead of failing (with Debian-specific
error), continue on as though '--without-libmodbus' were specified.
configure.in:  don't use $TCLCONFIG dirname if $TCLCONFIG is empty
sample-configs in ${datadir}/linuxcnc; rename docsdir to docdir

The sample configs must be present for linuxcnc, or errors are
generated, since the files are used as defaults at run-time.

Debian explicitly forbids run-time requirements of files in
/usr/share/doc [1], and Fedora does in [2], where it is unstated that
all /usr/share/doc files are automatically labeled as %doc.

Fedora developers recommended putting these files into
/usr/share/linuxcnc.

In addition, rename 'docsdir' to 'docdir', per GNU coding standards
[3], and allow it to be set through './configure --docdir='.

[1] https://www.debian.org/doc/debian-policy/ch-docs.html#s12.3
[2] https://fedoraproject.org/wiki/Packaging:Guidelines#Documentation
[3] http://www.gnu.org/prep/standards/html_node/Directory-Variables.html
tests/bitops.0/test.sh:  change include dir to /include from /src/rtapi

Theory:  tests ought not to depend on anything in /src/
toolchanger test:  make race condition less likely by increasing sleep

There's a race condition in the linuxcncrsh tests that's been dealt
with before by sleeping a second before comparing test output to
expected output.

This occasionally bites my buildbot, so hack it more by increasing the
sleep to five seconds.

The following example output shows the last several lines of
'gcode-output' truncated; the file is complete upon later inspection:

shutdown
+ wait
+ exit 0
--- expected-gcode-output	2014-01-29 17:54:34.000000000 -0600
+++ gcode-output		2014-01-29 18:44:02.666945642 -0600
@@ -209,9 +209,3 @@
 tlo_z = -0.400000

 sequence number 30.000000
-X = 0.000000
-Y = 0.000000
-Z = 0.400000
-toolno = 99999.000000
-tlo_z = -0.400000
-
*** [...]/tests/toolchanger/toolno-pocket-differ/nonrandom: \
    FAIL: checkresult exited with 1
FIXME:  temp. don't kill realtime.in to debug a msgd hang

Instead get a gdb back trace and then hang forever.
linuxcnc.in:  sleep 5 seconds after linuxcncrsh

Hopefully avoid race condition