VE-1523: Insert template when selected and open the edit dialog
VE-1523: Fix a bug with expanded selection and add comments
Merge pull request #4733 from Wikia/VE-1523

VE-1523: Insert template when selected and open the edit dialog
Merge branch 'VE-525' into VE-1528

Conflicts:
	extensions/VisualEditor/wikia/modules/ve/ui/dialogs/ve.ui.WikiaTemplateInsertDialog.js