Fix arguments shift
Merge branch 'master' of github.com:01org/ocr
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!!
Fixes #5 Tasks and Events are handled through static factories. There's a check in the code to initialize the factories only if they are not NULL, however the cleanup phase wasn't setting factories back to NULL preventing the correct initialization on subsequent ocrInit calls. This design is bad, those factories should be part of the domain policy.
Defines cflags so that we don't inherit default values too
Added Doxygen command and doc directory
Added compileTree to ignore list
Fixed some Doxygen comments
Merged changes made to master into 'demo' branch.
This fixes all the bugs reported until now that were in master.

Conflicts that were resolved:
	examples/smith-waterman/smithwaterman.c
	src/ocr-edt.c