Add 'nextSearchTerm' function

Clean version of [pull request #1519](https://github.com/ivaynberg/select2/pull/1519):
- Given a previous selection `nextSearchTerm` determines what the next search term should be.
- Remove some leftover tabs.
- Fix a typo: 'install the' instead of 'install sthe'.