Pattern-match: fix matching phrases in any order. #8018

Patterns like

match_mow ([first phrase]|firstphrase [second sequence]|secondsequence)

with the o option did not match responses like

'second sequence first phrase'

Thanks to Joshua Bragg and Tristan Rebeiro for finding and reporting
this problem.
Update version for a new release.
Merge pull request #1 from moodleou/master

Pattern-match: fix matching phrases in any order.