Changed tornado/simple_httpclient.py to raise the error instead of
storing the error message and then raising an HTTPError. 
Changed the websocket tests for network_fail and network timeout to
expect an IOError instead of an HTTPError.
Add a test with newlines in template tags to control whitespace in output.
Merge pull request #1042 from moijes12/fix1033_2

Changed _on_close method tornado/simple_httpclient.py to raise the error instead of raising an HTTPError
Improve performance by using Future interface when writing HTTP responses.

Previously, we passed a callback to IOStream.write() and also checked
IOStream.writing() to see if the write completed synchronously (which is
the common case).  If it did, we would complete the request immediately
but the write callback would remain on the IOLoop until its next iteration,
keeping the request state from being garbage collected.

In benchmarks, this would manifest as as something like a memory leak,
since benchmarks often handle many requests in one IOLoop iteration.
This slowed things down (by about 10% in my benchmarks) by increasing
pressure on the garbage collector.
Add gen.moment, a yieldable object that resumes after one IOLoop iteration.

Use this between requests in HTTP1ServerConnection to keep one connection
from monopolizing the IOLoop when there are pipelined (or just fast) requests
available.  This was causing increased variance in benchmarks using "ab -k"
(it also increased throughput, for reasons that are not yet clear, so this
change reduces observed speed in these benchmarks).
IOStream: do not listen for close events if there is no close_callback.

HTTP1Connection now only registers its close callback when it is done
reading.  This improves performance for synchronous handlers, which no
longer interact with the IOLoop as often.
Decouple read_from_buffer's search for the endpoint from consuming the data.

This lets us call find_read_pos from read_to_buffer_loop, avoiding some
unnecessary reads (e.g. it previously took a minimum of two recv calls
to serve an http request, but now we can do it in one).
Test Python 3.4 on Travis.
Merge pull request #1055 from schlamar/patch-1

Test Python 3.4 on Travis.
Twisted 14.0.0 is now (partially) installable on python 3, so test with it.

Consolidate the dependency section of the .travis.yml now that more of our
dependencies are cross-version.
Fix .travis.yaml syntax error.

Remove deprecated --use-mirrors flag to pip.
.travis.yml: don't install Twisted on 3.2 or pycurl on pypy.
Also exclude pycares from pypy on travis.
Update links to github repo; add announcement mailing list.
Merge branch 'branch3.2'

Conflicts:
	tornado/tcpserver.py
Ensure that travis test runs can see .coveragerc
Merge remote-tracking branch 'upstream/master'