New utils: 'redis-lock' and 'flow'

 * redis-lock: use Redis to create a lock between multiple workers
 * flow: organize async calls into a better running sequence