TISTUD-6181 Studio: Typing "label1" at certain pace causes autofill with...

... "Ti.API.log('info',})"

Grouped the template snippets only when they have same trigger names. The content assist calculate the snippets when the first letter is pressed (at least for the case when the content assist is instant). So, grab all snippet templates that starts with a specific letter. When a trigger character (such as 1 or 2) is applied, it should grab the complete the replaceable prefix and then, match with the snippet template name to auto insert it.

Add unit tests.