[cron-lock]: Set a lock if and when rebuild_vault starts ...

Given how long it takes to compile all versions of a single question,
it is entirely possible that the last cron hasn't finished when the
next one starts

Set a lock to avoid race condition
Merge pull request #529 from abhinavc/master

[cron-lock]: Set a lock if and when rebuild_vault starts ...