[ticket/12699] Replace magic numbers for the TAB and for ENTER keydown

Replaced the magic numbers 9 and 13 in the keydown for the text editor
with constants in the existing keymap for phpBB.

PHPBB3-12699