Adds head and sortedTake to KeyedList

closes #700
closes #701