Sublime Text 2 / Python 2 support fixes

Tested on Sublime Test 2 on OSX, and double checked , should cover all the features and make it fully functional in ST2 with minimal changes.