rename api to nwapi for the change in nw
cherry-pick upstream fix: Update OOM killer to patch out CFAllocator on 10.9

https://codereview.chromium.org/25288002

Fix rogerwang/node-webkit#1271  rogerwang/node-webkit#1277
Fix previous commit
changes to be compatible with upstream build
[OSX] Turn on --enable-threaded-compositing by default

Fix rogerwang/node-webkit#1340
Merge branch 'node' of https://github.com/zcbenz/chromium into node