Add editor property to completion provider
Added utility functions to get index of element in a list matching a custom condition
A few fixes to the completion mode (make it case insensitive by default and hide popup if completion prefix == unique completion)