[ticket/11713] Do not remove module if it couldn't be deleted

Up to now, the module or module category was always removed with jQuery,
even if there was an error. With this change, the modules will not be deleted
by jQuery if the return JSON array will have SUCCESS set to false.

Ticket: http://tracker.phpbb.com/browse/PHPBB3-11713

PHPBB3-11713