Schema/XSLT:

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: schema must require 'required' options
  - changed <sequence> -> <all> where possible
Fix typo in recursion into "ref="