check for errno.WSA* on 64-bit Windows (fixes #1052)
Add the start of a new user guide.
Make options.parse_config_file supporting custom encoding
Merge pull request #1084 from ukoethe/master

check for errno.WSA* on 64-bit Windows (fixes #1052)
Assume all config files are encoded in UTF-8
Split overview.rst into separate files.
Rename the new-in-4.0 gzip parameter to HTTPServer.

All the gzip-related parameters are now explicit about whether
they compress or decompress and whether they apply to requests or
responses.  For all the parameters that existed prior to 4.0
the old names are accepted as well, but for the new ones in 4.0
we don't need to worry about backwards-compatibility.

This is motivated by the potential confusion around the use of
gzip as a parameter to the Application constructor to indicate
compression of responses and to the HTTPServer constructor to
indicate decompression of requests.
Set version number to 4.0b2
Fix binary websocket connections
Merge pull request #1091 from xose/patch-1

Fix binary websocket connections
Merge branch 'master' of github.com:tornadoweb/tornado
Add tests for both binary and unicode messages in websockets.
Disable twisted tests on pypy on travis-ci since they seem to be flaky.

They were already disabled in tox.ini.
Expand and rewrite the guide docs.
Merge branch 'guide'

* guide:
  Expand and rewrite the guide docs.
  Split overview.rst into separate files.
Rewrite chatdemo to use a coroutine instead of callbacks.
Add a test for exception in websocket callbacks.
Fix outdated variable name in docs.
Remove length requirement from v1 XSRF tokens
Turn short and hex XSRF tests into success tests