Add documentation for capacity factors

Also reword the distribution mode documentation a bit, and move the
grouping API to the distribution mode section.