MediaControlController improvment: improved var doc, less code
Added liip_imagine configuration with one filter - to avoid not defined filter after btn media instalation.
Improved BtnMediaExtension and prepend above file if liip_imagine extension exist.
Removed not used files.
Clean up modal templates and styles. Moved them to the MediaModal dir.
Improved media category tree rendering and template.
MediaType keep modal route name and generate it by injected router. Changed binding js logic to data-btn-media attr.
Used bootstrap columns idea for modal content.
Modal.js:
- Content is loaded on open only.
- Improved behavior - don't re-bind modal behaviors only on modal-body-content update
- Don't run script if there is no $.fn.modal.
- Changed bindCategoryFilter to hanldle new categories tree.
- Changed few .on methods - thanks of that we don't need to re-bind them each time.
- Little clean up the code.