Fewer toc levels. Updates, clarifications, removal of legacy ballast

Fewer toc levels: make base classes and application definitions visible in the table of contents; remove spurious sublevels.
Mark NAPI as frozen and move it to a separate section.
Remove legacy ballast and duplications from the introductory sections of the reference.