Fixes issue #124 odd auto_indent on gist insert

This fixes the odd auto_indent issue when inserting gist - https://github.com/condemil/Gist/issues/124
I'm not a python coder so this may need to be reviewed by someone more knowledgeable.
Works on ST3 - Windows 7 64bit