Steps -> Actions refactoring (#7688)
- Move action handling code to rcmail class
- Add rcmail_action class
- Add action aliases
- Get rid of $OUTPUT global
- Move some methods from rcmail to rcmail_action
- PHP8 compat. fixes
- Add framework for testing actions
- Fix obvious code mistakes