functional: improve LDocs for consistency and clarity.

* lib/std/functional.lua: Be consistent with parameter names in
all functions.
Be consistent with usage example formats.
Be consistent with lambda string quoting in examples.

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