Add Unique Indicies to Objects

Use MongoDB indexing to check that created and updated objects are
unique.  Also, switch to synchronous hashing/comparing of passwords.