Added the lock acquire on token in main.js
When recovering data from simpledb, NOT rewriting it in simpledb again anymore in simpledb_w_memcached.js
Exported (release|acquire)Lock functions in storage.js
Using the validateTokenWith lock in token and credential routes (that could eventually need to acquire a lock)
Added the lock acquire on token in main.js
When recovering data from simpledb, NOT rewriting it in simpledb again anymore in simpledb_w_memcached.js
Exported (release|acquire)Lock functions in storage.js
Using the validateTokenWith lock in token and credential routes (that could eventually need to acquire a lock)
Not rewriting the last_updated in the simpledb storage (should have been done in storage and not in raw drivers from the beginning