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.
Remove limit from modx-combo-category, displaying all available categories

Fixes #12087
Fix wrong error for namespace create
Fix window after show errors
Remove C:\fakepath\ from filename when importing property sets

Fixes #12184

Uncomment
Improved generateContext method to be quicker
Remove limit from modx-combo-category combobox

* origin/pr/12175:
  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 unnecessary scrollbars in windows

* origin/pr/12180:
  Fix window after show errors
Remove C:\fakepath\ from filename when importing property sets

* origin/pr/12185:
  Remove C:\fakepath\ from filename when importing property sets