Bug fix for Tornado v3

Replacing undocumented dictionary access with attribute access.

See:
https://groups.google.com/forum/?fromgroups=#!topic/python-tornado/5LDMj
TzXMu8
Merge pull request #1 from moconnell/master

Bug fix for Tornado v3