VE-1613: Support for MediaGallery paremeter - expand - in VE

Changes seem pretty significant and this is because it's not only support for displaying but also for changing value of expand. So if you process transaction similar to this: ve.dm.Transaction.newFromAttributeChanges(ve.instances[0].view.model.documentModel, 8, {expand:false} you will notice that diff looks correct.

https://wikia-inc.atlassian.net/browse/VE-1613
VE-1613: Small optmization to variable initalization and assignment
VE-1613: Fixed typo
VE-1613: Proper handling for expand in new galleries
VE-1613: Improved handling for "expand" property - modify it only when necessary (clean diffs)
VE-1613: Use correct quote marks
VE-1619: Resign from clearing HTML after rendering
VE-1619: Move setLive into conditional
Merge pull request #5199 from Wikia/VE-1613

VE-1613: Support for MediaGallery paremeter - expand - in VE
VE-1620: Skip highlighting captions of gallery items

There is no need to highlight captions of gallery items becuase they are contained within gallery (for sure) which already gets a highlight.

https://wikia-inc.atlassian.net/browse/VE-1620
VE-1623: Remove VE assets from Labs code
Merge pull request #5205 from Wikia/VE-1623

VE-1623: Remove VE assets from Labs code
VE-1619: Adjust setLive to setLive on children only if node does not handle its own rendering
Merge pull request #5202 from Wikia/VE-1620

VE-1620: Skip highlighting captions of gallery items
VE-1620: Apply ve-ce-noHighlight not only to the paragraph (which is a wrapper) but also to all element children.

This is to solve a problem when some HTML elements are using in the caption - for instance bold or italic.

https://wikia-inc.atlassian.net/browse/VE-1620
Merge pull request #5200 from Wikia/VE-1619

VE-1619: Resign from clearing HTML after rendering
MAIN-3096: Pass correct path-prefix when making a request to Vignette

Vignette requires to pass correct path-prefix to it when sending a request. For unknown new galleries in VE were not tested in different languages than EN and this problem didn't pop out (path-prefix for English is null).

https://wikia-inc.atlassian.net/browse/MAIN-3096
MAIN-3096: Sometimes I forget spaces here and there. That's how I rock.
Merge pull request #5235 from Wikia/MAIN-3096

MAIN-3096: Pass correct path-prefix when making a request to Vignette
Merge pull request #5218 from Wikia/VE-1620

VE-1620: Apply ve-ce-noHighlight not only to the paragraph (which is a wrapper) but also to all element children.