Added support for patternProperties
Added support for loading external files from bundle
made one of the tests a bit more complicated