Add input support to NaCl backend.

Add Box2D, chipmunk, extensions and dummy CocosDenshion
builds for NaCl.