Started implementation of hash/salt for tokens in DB -- WIP!

I have troubles with the waterfall and the asynchronous DB transactions. I think the current state could
loose DB actions. Please check.
BTW: If fixed some legacy occurrences of revertToken. Changed it to revoke_token.