Fix sendRequestToPage IPC will not reply if the window closed before IPC function finish process.
Fix sendRequestToPage IPC will not reply if the window closed before IPC function finish process.

To fix this, I check the IPC reply callbacks before Window closed event, and just call the reply immediately
without arguments to make sure reply will turn back. User should check their arguments to detect if the reply is valid.

yorkie/editor-framework,jarradh/nucliasm,lostfictions/editor-framework,lostfictions/editor-framework,jarradh/nucliasm,yorkie/editor-framework,jarradh/nucliasm,cuit-zhaxin/editor-framework,yorkie/editor-framework,lostfictions/editor-framework,cuit-zhaxin/editor-framework,cuit-zhaxin/editor-framework