Update Tornado to 3.1.1

This might fix issue #41.