(PDB-812) Consolidate produce-body

This patch consolidates produce-body functions for all streaming endpoints to a
new function in http/produce-body.
Merge pull request #1068 from wkalt/ticket/master/pdb-812-consolidate-produce-body

(PDB-812) Consolidate produce-body
(maint) fix commands API examples

This includes an environment key in the replace-facts example so it works when copy pasted.
Merge pull request #1076 from wkalt/maint/fix-commands-examples

(maint) fix commands API examples
minor change swithc to master
slkdjh