Redmine#3655: bundlesmatching() gets tag support

For https://cfengine.com/dev/issues/3655

Test passes, everything works.  Documentation to be added on merge.