[nacltoons] Use YAML for for data files and add lua unittests

This clearly differentiates code form data as well as
making data files a lot shorter and easier to read.

Add initial support for serializing levels.

And lunit (lua unit testing) to DEPS so we can do some
testing in pure lua, and add lua.sh script for launching
lua to run tests.

Move nacltoons third party deps to nacltoons/third_party.

BUG=
R=binji@chromium.org

Review URL: https://codereview.chromium.org/14820005

git-svn-id: https://nativeclient-sdk.googlecode.com/svn/trunk/src@1548 050acbb0-2703-11df-ab0a-9f3f633ae91d
[nacltoons] Fix location of lua-yaml in Makefile.

TBR=binji
BUG=None

Review URL: https://codereview.chromium.org/15386002

git-svn-id: https://nativeclient-sdk.googlecode.com/svn/trunk/src@1549 050acbb0-2703-11df-ab0a-9f3f633ae91d
[nacltoons] Fix one more bad path to make lua unittests pass.

TBR=binji
BUG=None

Review URL: https://codereview.chromium.org/15393002

git-svn-id: https://nativeclient-sdk.googlecode.com/svn/trunk/src@1550 050acbb0-2703-11df-ab0a-9f3f633ae91d
[nacltoons] Build third_party libraries into single libdir.

Also, make sure this libdir comes before the naclports
one as we want to use liblua from the cocos build rather
than the one that ships with ports.

TBR=binji

Review URL: https://codereview.chromium.org/15268005

git-svn-id: https://nativeclient-sdk.googlecode.com/svn/trunk/src@1551 050acbb0-2703-11df-ab0a-9f3f633ae91d
[nacltoons] Add compound shapes.

This change is suprisingly large as it involves switching
from CCPhysicsSprite (where each physics object must have
a visisble sprite) to CCPhysicsNode (where the physics
node itself is not visible, but can have zero or more
visible children).

This means that a single phyiscs node (corresponding to a
single box2d body) can be constructed from many shapes and
sprites, each adding its own fixtures to the overall body.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/15070003

git-svn-id: https://nativeclient-sdk.googlecode.com/svn/trunk/src@1552 050acbb0-2703-11df-ab0a-9f3f633ae91d
[NaCl Addin] Fix dependencies in visual studio

This fixes a long standing issue where visual studio
would always attempt to re-build, and in particular
relink NaCl project.

The primary fix here is to make filenames in the .tlog
files always uppercase and always absolute.

The secondary fix is to make the linker step also honour
tlog dependencies so that MSBuild knows when it can skip
the link step.

BUG=155157
R=binji@chromium.org

Review URL: https://codereview.chromium.org/16096014

git-svn-id: https://nativeclient-sdk.googlecode.com/svn/trunk/src@1553 050acbb0-2703-11df-ab0a-9f3f633ae91d