Match snippet with longest prefix

Removes the limitation on what characters can be in a snippet prefix by matching the snippet with the longest prefix.

This uses all the prefix characters to determine the word regex used when selecting the snippet.

Closes #30
Closes atom/language-xml#2