fix #418 - refactor supporting code into its own library

Abstract out Sublime Text-related helpers, utils, etc.
remove old message
fix import paths
Merge branch 'remove-old-message' into refactor
Merge pull request #419 from guillermooo/refactor

Refactor