NF: Compute confidence intervals on binomial proportions

This should be useful for statistical evaluation of classifier
accuracies.
RF: Remove left-over test code
ENH: A bit more testing, a few words of caution
Merge pull request #239 from hanke/confidence_intervals

NF: Compute confidence intervals on binomial proportions