[feature/session-storage] Added an interface for session storage with documentation

PHPBB3-9733
[feature/session-storage] Fixed a mysql error caused by missing parenthesis

PHPBB3-9733