Fixes #1: Added an ifdef around the bool definition to avoid conflict with C++

Fixes #2: Added documentation

Fixes #3: Added warning about non-sticky event to documentation

Replaced all instances of 'dependency' with 'dependence' and 'dependencies'
with 'dependences'
WARNING: ocrAddDependency is now ocrAddDependence!!