Added #random and #sample to ActiveRecord, tests included.

And the `else` would be weird because `random` intuitively means a random sampling, not an ordered subset pulled from a random place in the set.