SPARK-1162 added takeOrdered to pyspark
Added a warning for versions < 2.7.4.
Added an optional slower version instead...
Used binary search and insertion at point for slower version.
Implemented our own max heap.