om: complete the legacy flag work

- drill across all the layers from engine to the types formatter to
  propagate the legacy flag.
om: fix legacy mode flag bug and rebaseline models
om: fix more issues with trivial inheritance

- tags used in library files were incorrect, updated them
- add new line around doxygen block comments
- minor tidy-up in formatter