initialize dev_reload flag
use Chrome's web modal dialog manager for nw
Fix the node-main commit

commit 29b19806a790a12fb0a64ee148d019e27db350db
Author: Gnor Tech <kf@gnor.net>
Date:   Wed Jul 2 16:16:16 2014 +0800

    pass node-main to WebKit initializer

    Fix rogerwang/node-webkit#1989
Backport r279269: Updated the WindowEventTarget interface in ui\base to return a bool from all its methods which indicates whether the message was handled.

This is to ensure that the default handling on the Windows message is performed by the caller
(LegacyRenderWidgetHostHWND).

Part of fix for rogerwang/node-webkit#2081 and rogerwang/node-webkit#1978
add app to safe redirection protocol

Fix rogerwang/node-webkit#1908