add isPromise and isGenerator

They are everywhere now. Depends on the choice of dependency, one might be forced to face both at one.
Surprisingly, eslint does not have this capability right now. I believe it was accidentally removed. I've opened https://github.com/eslint/eslint/issues/1484 to track this.