upgrade to python 2.7 and new tornado