scripts/mailtest: fix socket family check.

There is no AddressFamily attribute:

Traceback (most recent call last):
  File "/var/docker/scripts/mailtest", line 140, in <module>
    do_tls(smtp,smtp_sslv)
  File "/var/docker/scripts/mailtest", line 44, in do_tls
    if conn.sock.family == socket.AddressFamily.AF_INET:
AttributeError: 'module' object has no attribute 'AddressFamily'

However, there is `socket.AF_INET` etc.
Merge pull request #80 from Supermathie/v1run

Add a few troubleshooting suggestions to readme
Merge pull request #74 from jgehrcke/patch-1

scripts/mailtest: fix socket family check.
FEATURE: allow tweaking more pg setup options
Update postgres.template.yml
Bring readme up to date
- Update base image
- Update discourse image
- Include cron and rsyslogd in base image
- Mount /var/log on host so we have access to nginx logs
- Introduce log rotation
- Correct symlink creation so it works with admin/upgrade
- All sample paths are /var/discourse
Big cleanup of discourse docker environment

* try to avoid sudo
* streamline image build
* remove constant 'duplicate source' warnings
* update samples to be consistent with each other
* add TODO lines to alert the user to important items to configure