pass node-main to WebKit initializer

Fix rogerwang/node-webkit#1989
fix build warnings
Merge pull request #3 from SgtConti/nw

Update ImageBuffer.cpp
Fix: new-win-policy is fired on each navigation
Merge upstream issue #357480: Large combo-box does not scroll properly and values overlaps on each other

r170825: Only delay scrolling for FrameViews

Fix rogerwang/node-webkit#2161
passing nwsnapshot path to v8

Fix rogerwang/node-webkit#2141
Merge pull request #1 from rogerwang/nw

General Update