Fix minor issues in threads.c
Fix more booleans
More bool fixes for spawn_flag
Fix auto-generation of Makefiles to have the correct dependencies
Ignore .rej files
If there's no children, don't check for master
we_are_master() should return bool
Better messages for debug state machine
Use proper names for child states
Make it work again in non-threaded mode
Don't talloc_steal the request to the listener
Turn off DEBUG_STATE_MACHINE by default
Re-do state machine to make sense.

The previous code was "interesting", to put it politely.
The new code is logical and clear.
Set request->child_pid = NO_SUCH_CHILD_PID in request_finish
Be more careful about setting child states

enqueue / dequeue should set QUEUED / RUNNING states

queue_or_run should set RUNNING in non-threaded mode,
or if we're a child thread
Clean up common state machine
Force proper usage of the event API

and add more assertions
remove extra check
On proxy_running ACTION_RUN, do running, not PROXY_REPLY
Remove extraneous %