Merge in upstream changes from Paul Foley.
- Add optional docstring for defcap
- Incorporate fixes to tparm stack operand handling

Moved capabilities out of a special block for CMU.