New decorator for admin session timeout.
This commit adds a new decorator to check if an admin session has timedout.
It introduce this decorator and the is_repo_admin to the ui/repo.py module
Signed-off-by: Clement Verna <cverna@tutanota.com></cverna@tutanota.com>