Feature/metrics docs

Reopening this PR, against release with addressed comments.
https://github.com/caskdata/cdap/pull/709
+1 for program here, but I think we should talk about naming since we are using "program" in the code for flows, procedures, etc. and "element" in the code, docs, and probably other places too.