Update requirements to tornado<=3.1