Make checkUsernames.php use batches

Bug: 3507
Change-Id: Idb4b84b853f4f86e90a470e937af9017cee15e44
Merge "Make checkUsernames.php use batches"