functional: new `cond` function.

* specs/functional_spec.yaml (cond): Specify behaviour of a new
cond function.
* lib/std/functional.lua (cond): Satisfy specified behaviours.
* NEWS: Update.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>