fixed multiple invalid xml elements
added command line arguments to writeEML.pl, saveSchema.pl; added error checking to EML.pm