Fix comma detection for setting insertion
Fix comma detection for setting insertion

Also always add a comma after the new entry if there was one on the
previous.

Fixes #133.

SublimeText/PackageDev,SublimeText/AAAPackageDev,SublimeText/AAAPackageDev