Sublime 3 compatibility

A quick pass at Sublime 3 compatibility, requires build 3009+ (for plugin_loaded callback support)