Backwards-ported to ST2

Now compatible with Sublime Text 2 and Sublime Text 3.