Make sure VisualEditor is installed before trying to use it

Bug: 63658
Bug: 63689
Change-Id: I5f13b9469ca510e42031e5a2e99c4f5ab7badec7
Merge "Make sure VisualEditor is installed before trying to use it"