Initial generation of documentation
Add documentation for C code (largely based on xmlsoft examples)