making reject and resolve helper classes public, so as they work in very nested function when running in dev-mode. Make these functions available in the FunctionPromise class as well.