Improves error messages in anafora.eval
Only treats directories as Anafora directories if they contain XML files
Improves implementation of memorize_entities_by_text
Refactors memorize_entities_by_text into functions