[2.3] [Re-build] Enhancement: Media Browser improvements #2

Fixes: https://github.com/modxcms/revolution/issues/11811 and probably https://github.com/modxcms/revolution/issues/6746 (if I understand the problem described there right)
Forum thread about missing icons in S3 media source: http://forums.modx.com/thread/92469/icons-not-appearing-in-filesystem-view-for-amazon-s3-media-source#dis-post-505279

- Re-organize media browser specific code in manager/assets/modext/widgets/media/modx.browser.js
- Add the same context menus to the data view / browser view items/files as they have in the tree
- Implements rename functionality directly from the browser view, refreshes both, view and tree (now also synced when renaming in the tree, e.g. browser view refreshes too)
- Implements edit file functionality directly from the browser view
- Implements quick update functionality directly from the browser view
- Implements download functionality directly from the browser view
- Fixes the bug that the tree is not refreshing when a file is deleted in the browser view (e.g. sync between browser view and tree on delete, both ways)
- ~~Refactored the thumbnail creation process in modfilemediasource.class.com (separate/new method getResizedImage()) to have the possibility for image resizing also from other methods than getObjectsInContainer()~~
- Clicking on a file in the browser loads the parent folder and selects it in the browser view (so the preview gets triggered)
- Tree and browser view in sync when selecting files
- Tree and browser view in sync when quick creating files in the tree
- Fixed layout bugs (introduced by me probably...) in the full image preview window + added a hover icon for the preview-thumb
- Clicking on a folder in the tree (to load it into the browser view) doesn't collapse the folder in the tree anymore (clicking the arrow still does)
- Added new system setting **modx_browser_tree_hide_files** to not list the files in the media browser tree (still in the filetree, no worries) and make the folders only a way of navigating (and probably makes the tree much faster as it doesn't have to render hunderds of files/nodes)
- Added new system setting **modx_browser_tree_hide_tooltips** to prevent the image preview thumbnails in the filetree when hovering an image (defaults to true, also only affects the media browser and not the filetree)
- Adds a bottom bar textfield to the browser view, where the path of the currently selected file is displayed and can be edited/copy/pasted. This was a desicion made after trying to implement the existing MODx.util.Clipboard, which doesn't work with modern Flash versions anymore as they require a user interaction to access the clipboard injector functionality in ActionScript, the implemented functionality could be a possible solution for https://github.com/modxcms/revolution/issues/11666
- Fixes functionality and then removes/hides the (pointless) button "MODX Browser" in the media browser window opened from TVs (see https://github.com/modxcms/revolution/issues/11840)
- Makes media source root nodes in the tree always have the media sources name (instead of the hardcoded "Files")
- Fixes the bug that the RTE-Media-Browser window was not closing when hitting "Close" (just the content went away, e.g. white popup)
- Prevent full view window opening when no preview is available
- Adds missing root node icon for file tree root nodes aka media sources, I chose the harddisk (icon-hdd-o / $fa-var-hdd-o), better ideas are welcome =)


Before:
![modx mediamanager before](https://cloud.githubusercontent.com/assets/445501/3735871/8d1a01fa-1728-11e4-988d-1923b141ff24.gif)

After:
![modx mediamanager after](https://cloud.githubusercontent.com/assets/445501/3735874/94761916-1728-11e4-87a3-a4ef6adb3a43.gif)


Noticed this in modfilemediasource.class.php:

```php
$imageWidth = $this->ctx->getOption('filemanager_image_width', 400);
$imageHeight = $this->ctx->getOption('filemanager_image_height', 300);
$thumbWidth = $this->ctx->getOption('filemanager_thumb_width', 100);
$thumbHeight = $this->ctx->getOption('filemanager_thumb_height', 80);
```

but I cannot find any system settings with these keys, is this intentional (and should be added manually? if so, who knows that?) or should these settings be added to the system settings?

I'd like to "clean up" the media browser settings as some are called filemanager_<setting> and others modx_browser_<setting>, I'd suggest renaming all filemanager_<setting> entries (just 4 currently) into browser_<setting>, modx_browser_<setting> or media_browser_<setting> (prefer the last). Actually these 4 settings with filemanager_ are deprecated and could maybe even be removed?

@opengeek: are differently named/renamed settings considered a breaking change?

changing this would probably require a resolver for upgrade installations, which renames the old settings, right?