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

I think this feature was rejected last time but if we implement it now it should be something like
```ruby

def random(limit=1)
 if loaded?
  @records.sample(limit)
 else
  offset(rand(count)).limit(limit)
 end
end

alias_method :sample, :random