Refactor CDF code for readability.

Renamed method hypothesis() to percentile(). Renamed attribute percentiles to
cumulative_distribution.
Add/test/demo CDF.percentiles() to compute credible intervals.