(QENG-319) The "result" Object Doesn't Have Promised Attributes

- to support old tests, yield self on a block with arity of 0
- to support new tests, yield result on a block with arity of 1
Merge pull request #179 from anodelman/result-object-fix

(QENG-319) The "result" Object Doesn't Have Promised Attributes