Implements #893 Add get_user_by_username() helper function.

Update ```verify_username_exists()``` method in
```inc/datahandlers/user.php```.