Dual ST2/ST3 compatibility.

This commit redoes the imports so that they check for `sublime.version()`.