[incomplete beta] Fix corner cases identified by Rocco Romeo.
[incomplete gamma] Fix corner cases identified by Rocco Romeo.
Add binomial_coefficient to math_fwd.hpp and test.
[bernoulli] suppress some compiler warnings.