Added new function where pattern can be used in map to validate any
key that exists in that map. This is most usefull when allowempty is
set to True because then random keys can be in there and the pattern
will validate all keys even if there is no direct rule for that key.
Added 2 new tests to test this functionality.