Add :printdef command to show the definition of a pattern-matching operation
Merge pull request #1509 from david-christiansen/patdefs-cmds

Add :printdef command to show the definition of a pattern-matching operation
Add test for basic REPL commands