[feature/session-storage] Moved session interfaces and allow mix/match in session.php

PHPBB3-9733