Merge pull request #1851 from Wikia/mediasearch-bugs

Fix couple of bugs in WikiaMediaInsertDialog and WikiaMediaQueryWidget
VID-861 Remove array_flip
reverse lvs confirm modal messages and associated calls
linting
Merge pull request #1850 from Wikia/apitempupload

Return an error for incorrect video URL
updates from code review
VE-472: initial layout for media page.
small notes from Inez
Merge pull request #1846 from Wikia/VE-528

VE-528, VE-530, VE-502: Uploading temporary files
changing font size in LVS new flag based on design review
VE-472: add file extension next to title (for photos).
Merge branch 've-sprint-5' into VE-472

Conflicts:
	extensions/VisualEditor/wikia/modules/ve/ui/dialogs/ve.ui.WikiaMediaInsertDialog.js
	extensions/VisualEditor/wikia/modules/ve/ui/styles/ve.ui.WikiaMediaInsertDialog.scss
changes after review from design
border slants for popupWidget-callout and minor fixes
fixes for toolbar border and shadow
media icons in search results
Merge pull request #1853 from Wikia/media-icons

VE-479: Media icons in search results
Merge branch 'VE-472' into ve-sprint-5

Conflicts:
	extensions/VisualEditor/wikia/modules/ve/ui/styles/ve.ui.WikiaMediaInsertDialog.scss
Added support for handling video URLs in search/omni box
Trimmed the tab title to removed unnecessary blank space