Add random() for openarrays

I also added a description for the (for me) unintuitive random for TSlices, which excludes the last element of the slice.