Implements multi-selections autocomplete

The autocomplete still rely on the last selection to find matches.
Meaning that if the multiple selections have different content they
will all be replaced with the suggestion chosen for the last selection
text.
Cancel autocompletion on multiple cursors with different prefix/suffix
Merge pull request #31 from abe33/fix_autocomplete_with_many_selections

Autocomplete only insert text in the last selection