doc/manual: move id= to the chapter tags, the PDF conversion expects them to be there (and it avoids dangling links with HTML, see previous doc/manual change)
header (C) fixes
whitespace/comment touchup
doc/SDKRef.pdf: fixed handling of enum references
OSE header fixes
export the manual to OSE