FIX: Graceful error handling for unknown involved ships in parser

Moved check for errors when parsing killmail and creating object in front
of first use of said objects, so no NullPointerException can occur
FIX: Parser NullPointer and translation of old mails

re-added the check for errors that was moved in the previous commit;
fixed translation of mails with old warfare link names
Bugfix: Make API key handling more robust

Only allow addition of new key when Name, ID and Verification code are given.
Note: There is no checking about entering the same key twice. If entering
same Name,ID and Verification Code a second time this will lead to SQL error.