Implement our own QuickSelect algorithm
Add upstream headers, remove redundant copies of Guava classes