Change contact lookup and filter strategy

1. if we have only 1 term, set filterLimit to 10.
2. take the term whose length is the greatest. If that length is < 3, set filterLimit to 10.
3. use the API with this term
4. do the filtering for the other terms (if there are other terms) in the app, without using the Contacts API

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>