Build: Use globals instead of predef for JSHint.
(cherry picked from commit a9e1755cb96c54ed3ead77f3eb375544fbf2b4b3)
Core: Updated comment about $.ui.plugin.
(cherry picked from commit b26d207d57a8e0fee034b5a9e16fbfa1ac38d67b)
Tests: Handle globals in .jshintrc.
(cherry picked from commit 2c43548ac629467596ee64d0c614a0cef3169852)
Accordion: Maintain collapsed state on refresh. Fixes #9189 - Accordion: refresh() method incorrectly opens collapsed accordion.
(cherry picked from commit 5a8596cdf3baa4d835e588cda9060a0537236c71)