#KJ-146 Produce a document from documentation of wait/notify. Extracted wait/notify to a separate module and cleaned them up as much as I could.