Clone module base schema before extending.

Writing to the base module schema without cloning it first was causing the base schema to be overwritten and causing false negatives.
Merge pull request #405 from alphagov/feature/json-schema-testing

Clone module base schema before extending.