Refactor instance creation in common.js.
Unify NaCl loading code.
Refactor common.js.
Sync ppapi_cpp with pepper_31.
Move postMessage out of the global namespace.