Bump version for 2.2.11-pl release
MODX Revolution 2.2.11-pl

Merge branch 'release-2.2'

* release-2.2: (45 commits)
  Bump version for 2.2.11-pl release
  Fix lexicon getList processor
  moved $count after DB and file results merge (cherry picked from commit 7fa6b7b8971602640610c222942c52d64584079c)
  moved $where search update before DB quering (cherry picked from commit b155a77bcf9551e28a8a4035801c141bd97aca23)
  Add separation between a minute (singular) and minutes (plural)
  Confirm navigation when unsaved changes exist in resource panel
  Prevent navigation if there are unsaved changes on the resource panel
  Resolve xPDO::parseBindings() error from /e modifier fix
  Prevent processor property overwriting in modX::runProcessor()
  new modDeprecatedProcessor properties
  bug - processors properties overwrite
  phpdoc update
  Fix deprecated returnValue
  Changed message_limit and delay
  Handle "preview" resource button visibility according to the "deleted" status of the resource
  Need some sleep...
  Missed makeUrl call
  Fix warnings (LOG_LEVEL_WARN) about alias not found for deleted resources
  Make sure we pass the context key when reloading a resource after changing its template, as well as a fix for the desired action
  Bump version for 2.2.11-dev
  ...
Extending #458 'open in new window' feature with optional Shift modifier. Shift + click in resource tree to edit in new window for users with no middle mouse button (e.g. Apple magic mouse, trackpads, etc)
[REBUILD] Allow disabling the confirm navigation popup
Improved "prevent navigation" alert by tracking field changes instead of using flawed isDirty() check.

The FormPanel.isDirty() check does a raw comparison between the original value and the current value of each of the fields. When using a rich text editor, there could be changes in the current content value of a resource due to changes in formatting (editors forcing a <p> root block) or encoding (& being turned into &amp;) which would result in the navigation popup. While yes, there are changes, no, the user did not make them so they should not be bothered with a popup.

The commit changes from looking at FormPanel.isDirty() to tracking field changes through the changeField event and a local flag.

This commit also resolves an issue where changing templates would show the warning during the reload.
Oops, put lexicon back in order.
Seriously... I think I need coffee
Do not trigger confirmation dialog when the empty cache checkbox was triggered
Affects CacheMaster users.
Updated processor instantiation
Add note about grunt not found
Only execute handlePreview if the "deleted" value changed
Prevent content duplication when using [css|js|html]To[Head|Bottom] output filters that call modX.regClient*
Bump version for 2.2.12 dev
Updated copyright dates
Improve Confirm Navigation feature and make configurable

Merge remote-tracking branch 'origin/pr/820' into release-2.2

* origin/pr/820:
  Do not trigger confirmation dialog when the empty cache checkbox was triggered Affects CacheMaster users.
  Seriously... I think I need coffee
  Oops, put lexicon back in order.
  Improved "prevent navigation" alert by tracking field changes instead of using flawed isDirty() check.
  [REBUILD] Allow disabling the confirm navigation popup
Fix for #10827 removes C:\fakepath\ from filename during uploads in MODX Resource Browser
Added support for browsers not supporting the File API (IE < 10)
Prevent redirect of base_url when query string exists

Stripping query string from REQUEST_URI

Stripping query string from REQUEST_URI when comparing to base_url.
(cherry picked from commit 1b083e7b58c18886bd698b9ff15411e182477b08)
Simplified, maintain use of input_file.dom
Make sure we have a modTemplate object (we still should be able to use "not templated" resources)