Make options instance more dict-like.
options[key] should return a value, not an _Option instance
Replace options.as_dict() with group_dict()
OptionParser.group_dict() now requires a group. Add as_dict().
Merge pull request #789 from ajdavis/opts-enhancements

Make options instance more dict-like.
fixed bugs
Fix a dangling doc reference, and add a doc check to tox and travis.
Actually install sphinx on travis; fix directory reference.
$TMPDIR isn't set on travis-ci.
Fix regression in async prepare: don't continue of prepare called finish.
Backport changes from ssl.match_hostname in Python 3.3.

Includes two commits:
* Fix potential CPU DoS via abusive wildcard pattern
  http://hg.python.org/cpython/rev/fafd33db6ff6
* Fall back to common name when SAN doesn't contain any DNS names
  http://hg.python.org/cpython/rev/1b37827984ba

Closes #799.
Add py27-docs to tox envlist.
Revert change to use time.strftime (from 3.0).

time.strftime is influenced by the user's locale (if one is set with
locale.setlocale), so it's not what we want.  Go back to the (slower)
email.utils functions.

Fixes #800.