VE-1389 Script to transition some users to VisualEditor

https://wikia-inc.atlassian.net/browse/VE-1540

/cc @SQLReview 
I first tried using $dbr->select() with an inner join array, but I could not get it to work. The join clause was never added to the query before being executed. So out of frustration I just wrote the query out in full.