revert to 2610698d
add support for cookies

Fix #238; cookie db is in the profile directory.
e.g. ~/.config/<name>/cookies
fix: crash on debugger

In debugger's context properties on node's global object cannot be read
[Test] Add package.json in tests/ to use npm to install all dependencies needed for tests.
[Test] Reimplement node tests by using mocha.
[Test] Add test case for #241.
dev reload feature. UI for this on Linux

dev reloading is a feature to let the app developers restart the
render process manually. In this way the updated code can be reloaded from
disk, including both the Node and the Webkit context.

Partly fix #218
[Test] Run tests in window context.
[Test] Merge htmltest into new mocha test framework.
[Mac] Add RefreshDev button in toolbar.
[GTK] Fix compilation error caused by previous commit.
[API] Add App.fullArgv and don't filter switches in App.argv. Fix #215.
[Test] message_channel_test should run in node context.
[API] Use regex to filter more arguments used by node-webkit.
[API] Use the CommandLine.original_argv to get arguments.

In this way, the precedence of original arguments won't get messed, and
we don't need to filter the switches we added programmely in nw.

Relies on zcbenz/chromium@1428b0a.
[GTK] Fix context menu icon bug. Part #154
Merge pull request #244 from zhchbin/issue154

[GTK] Fix context menu icon bug. Part #154
[Test] Add command line support for tests.
[Test] Support outputing to file.
[Test] Fix typo, json_file to json.