t/integration/: Added variables for sysdbd/sysdb/sysdb.conf.
client: Fixed a memory leak in case connection setup fails.
sysdbd: Don't leak memory when aborting from the main loop.
integration tests: Kill the right process when shutting down sysdbd.

Also, wait for it to terminate.
simple_query.sh: Store output in a variable before analyzing it.

This ensures that we actually get and check the right exit code.
integration tests: Run all invocations through valgrind's memcheck.

… covering, both, sysdb and sysdbd. For that to work, copy the binaries and
libraries to the temp directory and change the rpath to point to the temp
directory. This ensures the test is independent of any configure flags and
installation directories.

Let the tests fail if a leak (or other error) was detected by valgrind.
integration/test_lib.sh: Copy binaries from $TOP_SRCDIR.

D'oh!
Merged branch 'master' of git://git.tokkee.org/sysdb.
README: Updated documentation about (integration) tests.
build system: Disable integration tests if valgrind or chrpath are missing.
integration/simple_query.sh: Added some more simple queries.
sysdb: When using -c, exit non-zero if any command failed.
integration/simple_query.sh: Test a failing command.