Only run tests in org.freenetproject.freemail
Fix name of twoMessagesInOneSession SMTP test
Move send/receive code from SMTPSession to TextProtocolTester

This moves the protocol independent send/receive code from SMTPSession
test to TextProtocolTester reducing some of the duplication. This also
removes the final QUIT command and the check for the connection teardown
etc. because TextProtocolTester can't handle that at the moment.
Pass streams into TextProtocolTester instead of socket
Restore connection close check in SMTPSessionTest
Organize SMTPSessionTest imports
Add missing copyright header to TextProtocolTester.java
Add more missing copyright headers
Update IMAP/SMTP base classes to accept new cmd/reply format
Add FIXME about using TestId1Data in SMTPTestBase
Add another identity for testing
Use the TestId classes for identity data in SMTPTestBase
Use TestId1Data in IMAPTestBase
Use TestId1Data in SMTPSessionTest
Replace more uses of hardcoded identity data
Fix names of tests in MailMessageTest
Move the locale selection logic to a new class
Refactor MailHeaderFilter test a bit
Replace date in message-id generation with 64bit random number

The message id that is used in messages only has to be unique, so there
is no special reason to include the date as long as the local part has a
sufficiently good chance of being unique.
Completely replace message-ids that don't pass the filter

Previously the filter would either drop the entire header or try to
reuse the left part if possible. With this change the entire header is
replaced unless the right side ends with .freemail