Add ArrayHandleRandomBernoulli

Add an ArrayHandle to transform a uniform real distribution into a
Bernoulli distribution with parameter p based on discrete inverse
transform sampling
47 jobs for !2194 with bernoulli-arrayhandle in 57 minutes and 29 seconds (queued for 7 seconds)
latest merge request