[ticket/11279] Clearer AJAX errors

Instead of generic error display correct AJAX error.

If parameter errorThrown has error message, display that message.
If not, try to display message for error type.
If text for that message does not exist, display generic error.

http://tracker.phpbb.com/browse/PHPBB3-11279