Enable mediawiki-core-jsduck-publish for master and REL1_21

Also adding jsduck to check and gate-and-submit.
Follows-up Ifbda48631d46492.

Change-Id: I769aaa24cc1f268a51b16ecf3e9c47a0ef2e49d6