fix fireball-x/dev#115, confirm save scene when window closed
fix fireball-x/dev#115, confirm save scene when window closed

fireball-x/deprecated-editor,cocos-creator/deprecated-editor,cocos-creator/deprecated-editor,fireball-x/deprecated-editor