Updates to encapsulate OCR and eliminate ocrWait dependence.

Updated the CnC graph translator to generate CnC environment code in two separate events (cncEnvIn and cncEnvOut), which helps eliminate our old dependence on the quasi-supported ocrWait function. Added some typedefs, macros, and automatically-generated functions to encapsulate the OCR namespace so that it no longer leaks into the CnC application programmer's code. Updated the examples to reflect the changes in the translator and runtime.