Fixes #4 (remove dependency on Tornado >= 3.1).