tap-gtester: Set the HARNESS_ACTIVE environment variable

This allows tests to detect whether they're running under a harness
or not.

In addition handle the way GTests skips better.
Makefile.am: Remove coverage files when doing 'make clean'
egg: Remove egg_mkdtemp() functions and use g_mkdtemp() instead
daemon: When in foreground mode, close stdout when done initializing

This indicates to the caller both that it's the end of the environment
variables, and also provides a synchronization point where tests can
wait for the daemon.
egg: Support nested directories in egg_tests_remove_scratch_directory()

Call 'rm' to cleanup the directory instead of removing files ourselves.
We want to use nested directories in some tests.
HACKING: Update with description of how to run tests
daemon: Add a test of the control directory and environment variables

Combine some code for starting a test daemon into a new internal
utility functions.
daemon: Exit gnome-keyring-daemon when the DBus connection closes

We don't do this via the standard mechanism, as it means that libdbus
just calls _exit() (not even exit()) when the connection goes away.

This can lead to inconsistent state. Shutdown should be orderly.

https://bugzilla.gnome.org/show_bug.cgi?id=708765
daemon: Use GLib unix signal handling

Rather than our own home rolled version.
rpc-layer: Add tests of initializing with/without daemon
daemon: More indicative preconditions when startup ordering goes bad
daemon: During testing write aliases to right directory
daemon: Don't initialize in an idle handler, this is racy

This races with things connecting over the control socket and
trying to initialize the daemon
egg: Add egg_tests_copy_scratch_file() method for fixture files
daemon: Don't log debug messages to syslog

https://bugzilla.gnome.org/show_bug.cgi?id=711537
pam: Add some tests for the PAM module

These require you to install some pam configs into /etc/pam.d. You
can do it with the following commands:

$ make enable-pam-tests
$ make disable-pam-tests
pam: Fix starting the daemon to change password

This was broken and would cause the daemon to fail internally.
The daemon wasn't being initialized due to the --login argument.