Redmine#3814: add simple harness for promise plugins and a test to use it

See https://cfengine.com/dev/issues/3814

Run test with the text script, e.g.:

```
cd tests/acceptances
18_plugins/promises/simple_promise_plugin.pl < 18_plugins/promises/simple_promise_script.txt
```