[TIDOC-1080] Support exclude-platforms key
[TIDOC-1080] Fix validate script
Merge pull request #4456 from bhatfield/tidoc-1080-3_1_X

[TIDOC-1080](3_1_X) Support exclude-platforms key