Add convenience this.promise_dirname variable, with acceptance test.

Trivial but convenient feature.  Acceptance test doesn't test `this.promise_filename` since pretty much every other acceptance test does.

Documentation will be added upon merge.