Limit the number of results in autocompletion.

An optional MAX_NUMBER_OF_RESULTS constant to be added in the settings file of the project