EadRecord: added a couple of checks for ID retrieval for detecting attempt of importing invalid records.
EadRecord: Added string casts that were missing for multiple fields.
Made it possible to configure maximum Solr update tries and delay between them.