Add promise handler generator
Add promise handler generator

This will make it possible to generate promise handlers that will be called with functions.  I wanted to make this possible through decorators, but it doesn't seem to work when the arguments are changing constantly.

rerobins/rhobot_framework