Added apps.base.waitpid() which waits for a PID to complete and then
performs a desired action (notify/execute new process). Added
apps.base.notify() which allows sending email to the current user (push
notification to be implemented in the future)