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

Offset(random) will not work here as it will not return the number of results requested. Usually this is done with order by rand() and we need to check the the db adapters to see how they support order by rand. 
Can you guys check the issues history and see what have people talked about this?