Prevent duplication in context root if new_document_in_root != true

Should fix #803 & #11310
Fix issue introduced in aa0cab2856efbf13b4c0598e97456f076f5e3b6c
Fixed some icons after FA upgrade +
Changed the element tree toolbar order to reflect the tree order
Sanitize filename when editing a file
Added ability to refresh a media source (tree) the same way it's done in other trees
Fixed actions in MODx.FormPanel

* origin/pr/11313:
  Fix issue introduced in aa0cab2856efbf13b4c0598e97456f076f5e3b6c
Fixed some icons after FA upgrade + Changed the element tree toolbar order to reflect the tree order

* origin/pr/11314:
  Fixed some icons after FA upgrade + Changed the element tree toolbar order to reflect the tree order
Open static element browser in the correct media source
Prevent duplication of root resources if != new_document_in_root
Make sure resource creation/update takes care of new_document_in_root permission
Restore elements order as they used to be in 2.2.

Should take care of #11262
Take care or contextual menus (create document at root)
Added log when a resource (and context) are sorted from the tree.

Should fix #11181
Fixed issue on parent validation +
Removed the duplicate button from modAB (related to #10016)
We don't need that anymore :x
Prevent duplication in context root if new_document_in_root != true

* origin/pr/11312:
  Fixed issue on parent validation + Removed the duplicate button from modAB (related to #10016)
  Take care or contextual menus (create document at root)
  Make sure resource creation/update takes care of new_document_in_root permission
  Prevent duplication of root resources if != new_document_in_root
  Prevent duplication in context root if new_document_in_root != true
Removed console.log

* origin/pr/11312:
  We don't need that anymore :x
Fixed updating resource in context root
Restore elements order as they used to be in 2.2.

* origin/pr/11318:
  Restore elements order as they used to be in 2.2.
Added log when a resource (and context) are sorted from the tree.

* origin/pr/11319:
  Added log when a resource (and context) are sorted from the tree.