gmr/consulate — pull request #1 by baijum (2014-07-24 15:10:11+00:00)
Title: mock for tornado 'gen' generator

I am getting this error when running `consulate` in my system, please check the patch.
```
$ consulate
Traceback (most recent call last):
File "/usr/local/bin/consulate", line 9, in
load_entry_point('consulate==0.2.0', 'console_scripts', 'consulate')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/local/lib/python2.7/dist-packages/consulate/__init__.py", line 7, in
from consulate.api import Consulate
File "/usr/local/lib/python2.7/dist-packages/consulate/api.py", line 10, in
from consulate import adapters
File "/usr/local/lib/python2.7/dist-packages/consulate/adapters.py", line 59, in
class TornadoRequest(Request):
File "/usr/local/lib/python2.7/dist-packages/consulate/adapters.py", line 66, in TornadoRequest
@gen.coroutine
AttributeError: 'NoneType' object has no attribute 'coroutine'
```