edit get contact by query string

Now, it can handles query string with case insensitive match.