Added file header to lib/assert.defined.sh.
Moved function for waiting for a pid to shop up into lib/proc.wait_for_pid_in_file.sh.