Support to Tornado 3.1 and update tornado_cors version to 0.3.2

Support to Tornado 3.1 and update tornado_cors version to 0.3.2