Tern experiments

Case insensitive searches in hints and matching in the middle of hints. Hints queried using Tern with filtering and sorting turned off.