Modify Grunt Build Task

* origin/pr/11223:
  Modify Grunt Build Task
Make default grunt task lazy

* origin/pr/11224:
  Make default grunt task lazy

Conflicts:
	_build/templates/default/gruntfile.js
Fix css overflow issues
Make sure we load default layout.js for custom themes without custom layout.js
Add autofocus attributes to setup form fields
Prevent css overflow, visualize focus of .x-form-textarea
Clean modx->user on context init

* origin/pr/618:
  Clear modX::user on init context
Fixed boolean and numeric values for rendering

* origin/pr/732:
  fix boolean and numeric values for rendering
Removed unnecessary Smarty templates

* origin/pr/11190: (23 commits)
  Removed a bunch of unused Smarty templates
  Property sets, permissions & resource groups templates (Smarty)
  System settings, actions (menu) & content types templates (Smarty)
  FC templates (Smarty)
  Import templates (Smarty)
  Messages template (Smarty)
  User group template (Smarty) + remove create action which seems to be not used/supported anymore
  System events & users templates (Smarty)
  File creation/edition templates (Smarty)
  User profile templates (Smarty)
  Access policies/template templates (Smarty)
  Remove unused assets/template for access policies
  Dashboards & widgets templates (smarty)
  System info templates (smarty)
  Resource data templates (smarty) + prevent error trying to get resource pagetitle when no resource is found
  Resource schedule templates (smarty)
  Logs templates (smarty)
  Search templates (smarty)
  Media source templates (smarty)
  Workspace templates (smarty)
  ...
Check for "theme_path/js/layout.js" before trying to load it

* origin/pr/11230:
  Make sure we load default layout.js for custom themes without custom layout.js
Prevent css overflow, visualize focus of .x-form-textarea

* origin/pr/11236:
  Prevent css overflow, visualize focus of .x-form-textarea
Added system settings to change default action

* origin/pr/11179:
  Removed hard coded "welcome" action
  Stick with class parameters...
  Better be handled at the controller level (modManagerRequest)
  Added ability to define "welcome" action & namespace
Fixed regex for element names

* origin/pr/11128:
  Reg exp bug
Another version of improved widget of active users

This is the new commit for issue #11107
Now it uses subquery with nested sorting and must work on any type of database.

I have table with 45000 records and when I select last actions for 50 hours this query takes only 0.0287 sec.
Integrated multiuploaddialog into MODx core
Replacing old uploaddialog code with new multiuploaddialog code
Added legacy multiple select drop down TV

* origin/pr/744:
  add the legacy multiple select drop down option
Back-button hides during install, fixing #11259
Added the setup language files and fixed minor problems with the Brazilian Portuguese language in the core.
Updated System Info to reflect latest PHPMailer version from PR #11157