Implement additional error handling in utils.import_object function
Merge remote-tracking branch 'upstream/master' into import-object
import_object will raise standard ImportError even in case of Value/Attribute error
correctly handle empty POST parameters
A couple of small 2.6-isms.

We can use namedtuple and the new 0o octal literal notation.
Rename future_wrap to return_future.

Allow exceptions from the initial synchronous phase to pass through
to the caller.  Add docs and tests.
Add decorator for @gen.engine-like tests.

Futures are awkward to use in stop/wait tests, and this makes it possible
to be consistent between tests and regular code.

Uses the (now-renamed) deactivate_stack_context callback
to detect when a test finishes cleanly.
Support lists of futures in @gen.engine.
Protect the tornado.gen import in testing.py for app engine.
Add a script for setting up a windows VM for testing.

This works with the images provided by http://modern.ie.
Add a test for non-login use of twitter_request.
Update pyflakes version.

The new version no longer complains about all our conditional imports.
Switch one last test from get_unused_port to bind_unused_port.

Closes #676.
Pre-compiling regex that removes control characters.

Given that this regex might be used a lot in the lifetime of a given server (each request that uses get_argument for unicode strings) it seems sensible to store the compiled version of the regex.
Handle non-ascii data in logged exceptions like in the main message.

Closes #675
Merge commit 'e3f8aa' from heynemann/master

Closes #677
Clarify docstring of IOLoop.stop.

The mention of "after the current iteration" was meant to emphasize that the
stop was not instantaneous, but it could have also been read as a guarantee
that one more poll call would take place.

Closes #672.
Escape non-ascii bytes in tracebacks line-by-line instead of all at once.

Previously if there were any bytes that needed escaping, the newlines
would get escaped as well, ruining the message formatting.

Closes #675 (again)
Add a workaround for a bug in the latest version of libcurl
Make LogTrapTestCase fail more gracefully in unknown logging configurations.

This allows LogTrapTestCases to be run under nose, which does its own
log buffering.

Closes #674