js code update for new jquery-ui tabs used in EditRights

new jquery-ui breaks current code and re-introduces the issue of #19205, i.e.
"the user/group selection is not retained after submition in admin rights page"

the main changes that affect here of tabs(since 1.10) are:
* cookie support is removed
* option selected => active
* events select and show are removed
Merge branch '4.2/fix-rights-editor-tab-state' into 4.2-trunk