[DS-792] When mail sending is disabled, log the entire message instead.

Since this should only occur during debugging or testing, I thought it
expedient to just build the MimeMessage normally and then extract the
composed headers from it.  This is slightly inefficient, but greatly
simplified the code.

Attachments will not be logged, since they might be anything and of
any size.  Instead, a list of their names will be inserted below the
headers and above the message body.
Actually commit the attachment code.
[DS-1612] Merge DSpace/dspace-solr project into DSpace/DSpace (Adding missing license headers)
DS-1586 Fix SLF4J and JCL Bridge version incompatibility: move up to dspace-parent POM
DS-1616 Localhost is not longer supported as a valid URL Solr

Replaced the deprecated org.apache.commons.validator.UrlValidator with the new
version from apache import org.apache.commons.validator.routines.UrlValidator
enabling local urls (localhost and internal names like mymachine, etc.)
Merge pull request #269 from abollini/DS-1586

DS-1586 Fix SLF4J and JCL Bridge version incompatibility
Merge pull request #271 from abollini/DS-1616

DS-1616 Localhost is not longer supported as a valid Solr server URL
DS-1611 Enable Discovery By Default in JSPUI
Merge pull request #272 from abollini/DS-1611

DS-1611 Enable Discovery By Default in JSPUI
DS-1617 Switch to SOLRBrowseDAOs implementation as default in DSpace 4.0
Merge pull request #267 from KevinVdV/DS-1612

[DS-1612] Merge DSpace/dspace-solr project into DSpace/DSpace
DS-1619 Unable to remove items after enabling SOLRBrowseDAOs
Merge pull request #273 from abollini/DS-1617

DS-1617 Switch to SOLRBrowseDAOs implementation as default in DSpace 4.0
DS-1188 add itemlist to collection home page
DS-1571 DSpace discovery CRITICAL bug when date facet produce range
Merge pull request #228 from mwoodiupui/DS-1563

[DS-1563] ConfigurationService recognize -Ddspace.configuration= as ConfigurationManager does.

No comments for three months, and it's a trivial change.
Merge pull request #275 from mwoodiupui/DS-1569

[DS-1569] Don't try to emit a password if there is none.
[DS-1625] Non public LNI broken when using password authentication
delete a duplicate dependency
Merge pull request #278 from zuki/DS-1626

[DS-1626] Duplicate dependency causes NoClassDefFoundError