Make script_{valid,invalid}.json validation flags configurable
Merge pull request #4876

6022b5d Make script_{valid,invalid}.json validation flags configurable (Pieter Wuille)