Adds scopes to ActiveRecord to allow for biased and weighted random sampling from a query.
>= 0
Tim Robertson