Improved snippet prefix cleanup

Adding a better fuzzy string matcher fuzziac from here: #
https://github.com/stollcri/fuzziac.js