REFACTOR: Rename mprSetNotifierThread to mprSetWindowsThread
FIX: mprWaitForEvent

There was a window where an event could occur before or while calling mprWaitForEvent. By
supplying an event mark obtained from mprGetEventMark, this API can detect if any events have
transpired.