Created event listener for before action.
Refactoring.
Token expiration check.
ClientAuthenticator update: tests and refactoring;
Build response headers for invalid token.
Refresh token checks
Update tests and main controller.
Merge pull request #2 from buhaibogdan/feature/TokenListener

Feature/token listener