[TIDOC-992](3_0_X) Merge TIDOC-920 into 3_0_X

* docgen.py: crosscheck class platform with attribute platform to exclude it
* jsduck_generator.py: side effect of hiding properties is that the accessors are not automatically hidden with jsduck. Explicitly hide accessors.