add isPromise and isGenerator

They are everywhere now. Depends on the choice of dependency, one might be forced to face both at one.