VID-2008 Don't show add photo button when new galleries are enabled
VE-1537: Respectively insert block or inline template (instead of always inserting inline)

This is a fix (sort of a quick fix) for a problem that is currently happening on production - and it will require further discussion with WMF guys.

https://wikia-inc.atlassian.net/browse/VE-1537
(CE-1075) Apply MediaWiki 1.19.20 security release

This applies the MediaWiki 1.19.20 security release which makes
OutputPage::disallowUserJs also disable user styles, so user supplied
CSS isn't run on secure pages.

Also disallow user JS/CSS on our own signup/login forms.
(CE-1075) Update MW version number and add release notes
(CE-1075) Make OutputPage::setAllowedModules set level explicitly

Make OutputPage::setAllowedModules set level explicitly rather than
getting the minimum. This is needed for a hook we use,
Wikia::onTitleGetSquidURLs.
Merge branch 'CE-1075' into dev
VE-1537: Added few comments.
VE-1537: Addressed JSHINT errors.
VE-1537: ,
VE-1537: Addressed all JSCS problems
VE-1537: SurfaceFragment welcomes chaining - so use it
VID-2008 Updated conditional formatting
VE-1537: Restore assignment to this.fragment because it is being used in ve.ui.Dialog
Merge pull request #4932 from Wikia/VE-1537

VE-1537: Respectively insert block or inline template (instead of always inserting inline)
VID-2018 merging into dev
Merge pull request #4924 from Wikia/VID-2008

VID-2008 Don't show add photo button when new galleries are enabled
merging dev into VID-2067