Fix randbeta to use the same algorithm for all methods

The methods ```randbeta(Real,Real)``` and ```randbeta!(Real,Real,Array)``` used two different algorithms to generate the variates and the former accepted positive parameters whereas the latter only accepted parameters larger than one.