ST3 support
(not tested all features)
fixed issue with inserting and replacing regions
remove unnecessary constants
temporary fix for issue with gutter icons in ST3
thanks to @beefsack