Complete the 'patternProperties' validator.

It now works alongside the 'properties' validator as well as
independently.