[feature/session-storage-cache] Changed the way user/all_session are stored

Previously it was inconsistent in the code on how
the two special keys (user_id_#) and
all_sessions_key in how it listed the session_ids.

By making the lists and associative array and including the time
it is easier to add and delete items in the lists.

PHPBB3-11705