Documentation updates.

- Fixed doxygen config by adding __cplusplus preprocessor macro.
- Various other updates.