from ratbox (androsyn), slightly changed
This compares two masks and returns whether the "new" is more specific than or equal to the "old". The difference with match() is that a '?' in "old" does not match a '*' in "new".
+ branches/release-2.1 -> 2.2 base + 3.0 -> branches/cxxconversion + backport some immediate 3.0 functionality for 2.2 + other stuff