Add autoclose plugin by RPG
autoclose: fix new document bug
Merge pull request #106 from scriptum/autoclose-plugin

Add autoclose plugin