Autoclose: fix bug with return between sci_undo*

return between sci_undo transaction will break undos completely
Merge pull request #123 from scriptum/autoclose-v0.2

Autoclose: fix bug with return between sci_undo*