Add autoinsert feature to the completer.
Merge pull request #1730 from danyaPostfactum/autoinsert

Add autoinsert feature to the completer.