Merge branch 'master' into develop
Change MailMessage.validateFrom() to respect internal proxy hosts.

The online server was getting `ORIGIN: "<bridges@ponticum>"' for the
`origin` parameter to bridgedb.email.server.MailMessage.validateFrom().
In order to automatically allow forwarded emails from localhost, we
passthrough on the first check on canonical domains in the
validateFrom() method if the domain matches the one returned from a
socket.gethostbyname() or socket.gethostname(), otherwise we fallback to
canonicalizeEmailDomain() later.
Fix Python2.7.3 UnicodeDecodeError in MailMessage.getIncoming().
Fix GnuPG invalid armor header in email.templates.getFooter().
Fix GnuPG 'invalid dash escaped line: --\n' error in templates.getFooter().
Whitespace fixes in lib/bridgedb/email/server.py.
Whitespace fix for one line in scripts/make-ssl-cert.
Fix scripts/make-ssl-cert to use `exit 1` after wrong number of args.
Hush OpenSSL during key/cert creation in scripts/make-ssl-cert.
Clarify comment string for EMAIL_SMTP_FROM_ADDR in config.
Fix ivar and incomplete items in email.server.MailContext docstring.
Add more logging to b.e.server.checkDKIM() function.
Fix Sphinx method link in b.e.server.generateResponse() docstring.
Update b.e.server.MailDelivery.validateFrom() docstring.
Update b.e.server.validateTo() docstring.
Update b.e.server.addServer() docstring.
Merge branch 'hotfix/11215_12147-intervalstart' into develop
Merge branch 'hotfix/0.2.1-docstrings' into develop
Add utility unittest.TestCase mixin class for testing SMTP.

 * ADD a new class, `test_email_server.SMTPTestsMixin`, which has the
   following methods useful for testing SMTP within
   `t.t.unittest.TestCase` subclasses:

     - SMTPTestsMixin._buildEmail(fromAddr=None, toAddr=None,
                                  subject=None, body=None)
         Creates email text (including headers) for use in an SMTP DATA
         segment. Includes the SMTP DATA EOM command ('.') at the
         end. If no keyword arguments are given, the defaults are fairly
         sane.

     - SMTPTestsMixin._buildSMTP(commands)
         Format a list of SMTP protocol commands into a string, using
         the proper protocol delimiter.

     - SMTPTestsMixin._test(commands, expected)
         Send the commands to the TestCase's protocol (this must be the
         `proto` attribute of your `TestCase`), and then check that the
         expected output matches what was received from
         `TestCase.transport` (another attribute you must assign).
Implement skipped unittests for bridgedb.email.server.addServer().