Move locking/unlocking code.

Datastores should only be dealing with datastores.

Change-Id: Ic6869fc38b97c6375d893c5fd19acca56c6516fc
Move create_user to people app.

This only deals with the SQL model, so it makes sense to move it to the
same place.

Change-Id: I386c86763709961f15331af53ea0f1e49591aae2
Fix misleading comment.

Change-Id: Ia198e3075021a984d93ca869e2185fd5bbb1bad9
Move more stuff to people models.

Change-Id: I0bcc4fd11dad77cd32381b0589a2ebf22620c4d7
Move base AccountDataStore to Django models.

Change-Id: Ia94d328a06322a5f78c0d52b563a4dffde4688d9
Rename functions.

Change-Id: I3fb014907c0162d9f20370bd72fe9d3c168173c2
Fix broken code.

Code that was missed from
986960dbdc82e968026315735213d509ec30ce2a

Change-Id: I95eb916387c91a9599006d7830cb2779455f003c