XSLT to generate manual reference from schema

- handle complexTypes, refs and attributes
- output attributes before inner elements
- output options in sorted order.
- normalize space from documentation node
Loads of Schema fixes/improvement.

  - copy documentation from manual reference to schema
  - identified undocumented options
  - added defaults to schema when possible
  - fix: some required elements lacked minOccurs=1
  - changed <sequence> -> <all> where possible
Use XML generated from schema for manual reference