patternProperties subjected to additionalProperties constraint

Currently, there is a bug with patternProperties where if a node is not
visited, it is counted as visited, even if not matched to a regular
expression. This fix subjects all unvisited properties not visited by
either the normal properties or pattern properties iterations to the
additionalProperties constraint.