Backporting mw.hook for VisualEditor
Uncommented previously commented instances of mw.hook
Merge pull request #1406 from Wikia/VE-backport-dependencies

Backporting mw.hook for VisualEditor