retry on duplicate usernames; also generate usernames in teacher dashboard
forgot file
Merge pull request #229 from code-dot-org/username-fixes

Username fixes