Merge pull request #1 from cocos2d/master

Updated to the latest version
Added Method to create a CCMenuItemToggle from a CCArray with a target selector.
Update AUTHORS
Add Makefiles for Emscripten + Emscripten external
Set build config for Emscripten rather than Linux out of the box.
Add #defines for Emscripten platform
Add main.cpp files for app samples
bool x = NULL  =>  bool x = false, to silence Clang.
ifdef tango around some symbols that aren't defined in Emscripten (nor a bunch of other platforms, it seems).
Add freetype 2.4.11 to repo
Revert "Add freetype 2.4.11 to repo"

This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
Remove freetype source and add libfreetype.a as built by the Emscripten test-suite.

Revert "Add freetype 2.4.11 to repo"

This reverts commit 418906d2612b59ead6826d8395b69168bdff0ca4.
Instruct Emscripten to emit .html file for HelloCpp sample.
Build fixes for emscripten, add linkage to libfreetype.a
Update build process for HelloCpp to build .js and .data files separately, pulling both in from index.html
Add method to CCNode class to allow uploading data to GPU. Call it from CCSprite.
Get CCGrid to work.
Add platform files for Emscripten.
Fix Motion streak client side buffers
Enable texture caching with emscripten.