Rewrite PriorityQueue to match Android behavior

See https://github.com/CyanogenMod/android_libcore/blob/6dad7429a395b3fe4cddf61aad6be79875ea36cf/luni/src/main/java/java/util/PriorityQueue.java
Fix typo in Vbox split point finding