Recursive generator detection makes my head hurt, but I think this works. Good luck.
Merge pull request #42 from njl/recursive-decorator-detection

Recursive generator detection makes my head hurt, but I think this works...
Adding a new test for endpoints with route_base args
fixing a test