Token storage implemented

Token storage provides tools to generate, validate and revoke persistent
tokens for various tasks like invitations or password reset. This commit
implements simple token storage using sqlalchemy.

Change-Id: If034bb34994338a4e4082d7201f6d07b0cb9f6b9