Added a minimum query length constrain to autocomplete

If user types a single chararchter and pauses, the auto-completeion will kick off and fetch a very large number of suggestions, which ofter causes the UI to hang. Therefore I added a option to constrain the minimal length for query strings.