Fix make objectIds in cadences migration.

Use update instead of save to avoid overwriting entire doc.
Split up test in state-test into two.
Add migration for moving completed phrases from phrases to users.
Complete training when done with it.

Increment the count on the phrases and add the phrase-id to the
array of completed phrases on the user.