Adds a handy matchPatterns method to case macros.
Cleans up formatting inside expander and matchPatterns.
Merge branch 'pr/441'