Updated generateContext to be quicker

Originally there was 2 getOption calls within the while loop. This doesn't display as a problem until a large amount of resources are pulled from the database.

By moving the getOption outside of the while loop and using the variable we see the generateContext() function speed up by about 100x.

With a resource tree of ~250,000 resources we saw about 1,600,000 calls to getOption, this new approach reduces that to 2.
Class based security/forms/profile/activate and deactivate processors
Class based security/forms/profile/activate and deactivate multiple processors
Class based security/forms/set/activate and deactivate processors
Class based security/forms/set/activate and deactivate multiple processors
Remove limit from modx-combo-category, displaying all available categories

Fixes #12087
Class based security/forms/set/import processor and lexicon fixes
No need grid refresh after changePage(1)
Fix wrong error for namespace create
Fix window after show errors
Class based forms processors

* origin/pr/12176:
  No need grid refresh after changePage(1)
  Class based security/forms/set/import processor and lexicon fixes
  Class based security/forms/set/activate and deactivate multiple processors
  Class based security/forms/set/activate and deactivate processors
  Class based security/forms/profile/activate and deactivate multiple processors
  Class based security/forms/profile/activate and deactivate processors
Improved generateContext method to be quicker
Improved generateContext method to be quicker

* origin/master:
  Updated generateContext to be quicker
Remove limit from modx-combo-category combobox

* origin/pr/12175:
  Remove limit from modx-combo-category, displaying all available categories
Remove limit from modx-combo-category combobox

* origin/master:
  Remove limit from modx-combo-category, displaying all available categories
Fix wrong error message for creating new namespace

* origin/pr/12179:
  Fix wrong error for namespace create
Fix wrong error message for creating new namespace

* origin/master:
  Fix wrong error for namespace create
Fix unnecessary scrollbars in windows

* origin/pr/12180:
  Fix window after show errors
Fix unnecessary scrollbars in windows

* origin/master:
  Fix window after show errors