optimize ACP groups modal, jQuery caching, update package dependencies

Cached jQuery wrappers for static DOM nodes.

Added missing dependencies in package.json.

If pull request for `nodebb-theme-vanilla` is rejected, line 20 of `public/src/forum/admin/groups.js` should be changed to: 

> detailsModalSave = formEl.find('.btn-primary'),