[ticket/11486] Moved a few E_USER_ERROR errors to /language

There was an assertion on the old message (before the constant is replaced with a value from $user->lang.) Modifying test to support the new constant.

PHPBB3-9975