Creates Post.objects.random method to get a random set of posts.