Update Tornado to 3.1.1

This is needed for the IPython Notebook from master.