added compatibility for Sublime Text 3 (still works in ST2)
Merge pull request #6 from calmyournerves/st3-compatibility

added compatibility for Sublime Text 3 (still works in ST2)