Added an autoconf check for detecting the existence of /proc/meminfo.  This is to
let the build know if we can use the Linux /proc directory for determining memory
usage and cpu utilization or we need to use some other method.
Created the skeleton of the 'badmodule'

This module is designed to misbehave.  It's used for load testing and debugging
purposes.
Added code for restarting modules when they die.
More work on the master process restarting.
Added quitting feature to the bad module.  This is to test the restarting logic
of the master daemon.
Added memory wasting feature to the bad module
Added cpu wasting to the bad module.
Fix bad module bug for the cpu usage.

The calculation for the last time was not right in the place and it
was causing an error in the time calculation.
Fix the process restart timing code in the master daemon.

The master daemon will restart processes/modules immediately when
they die.  If the process is having a problem and will simply not
start then this would cause a high load on the system to continually
be trying to restart the process.  This timing algorithm doubles the
amount of time delay between when the process died and when it will
get restarted if the process ran for less than a minute.  If the
process runs for longer than a minute then this time will be reset
back to zero.
finish _process_get_cpu_stat() function to read process stat information
for the master daemon.

I used the /proc filesystem at the moment so this will only work on Linux.
Still a work in progress.
add code to use 'ps' as a way to retrieve cpu usage and memory
usage from processes.

This is probably not the best idea in the best idea in the world
and it is not working because we have a signal handler that
waits on any child process that exits.  This causes the stream
to return EOF about half the time.  The solution may be to
implement the function with fork/pipe/exec, and record the pid
so that the cleanup function won't try to wait on the our ps
child.  There is probably still a race condition but it may be
acceptable if we deal with it gracefully.  I may forget about
it alltogether.
Bypass cpu and memory checks in the master daemon for operating
systems which do not have /proc.

It is going to be difficult to measure these things on non Linux
operating systems with 'ps' so until I come up with a better
solution, we'll just bypass the cpu and memory checking features
on non-Linux systems for now.
Add timing to the cpu and memory check in the master daemon

Don't want to run the cpu and memory check everytime we scan
the processes.  No sense it using up all those clock cycles.
The timing that we have uses the modulus of the sum of
the processes pid and a counter to have the cpu and memory
checked about every minute or so.  This won't be exact because
of signals and process restarts but that's not a big deal.  We
use the pid of the process so that we don't check the all the
processes on the same scan.  This should distribute them fairly
evenly.
Finish the master daemon code to terminate process that are not
behaving.

The master will kill child processes whose cpu usage or memory
usage surpass configured limits.
Add a way to keep the badmodule from responding to the QUIT signal
that is sent from the master daemon.

Needed a way to test the hard kill of processes when they refuse
to quit so added a tag and some code so that the bad module could
be told to ignore the QUIT signal from the master deamon.