Update VisualEditor for cherry-pick of I917944a

Change-Id: Ib6cec19ee2c38383931d1179fc7c2cc6ec8447a2
Merge "Update VisualEditor for cherry-pick of I917944a" into wmf/1.24wmf21