add nw_window_manifest to willHandleNaviagatonPolicy

Part of rogerwang/node-webkit#2543
fix crash in window.open in some cases
Merge remote-tracking branch 'upstream/nw' into development11