ENH Various ehancements to the cross_validation module

One additional explanation. I discovered that in some places array.size was used and in some places len(array).