[ticket/12254] Use a cookie instead of SID to store language selection

PHPBB3-12254