Bounded priority queue and kryo issue

[SPARK-2306] : BoundedPriorityQueue is private and not registered with Kryo
Due to the non registration of BoundedPriorityQueue in kryo ,RDD.Top is not working with kryo currently.