Redmine#6725: refactor the local class matching functions and add tag support to them
Redmine#6725: add acceptance tests on classmatch() and countclassesmatching()
Redmine#6725: add tag examples for classmatch() and countclassesmatching()
Merge pull request #2023 from tzz/tzz/redmine6725-tagify-class-matching-functions

Redmine#6725: refactor the local class matching functions and add tag support to them