Update CCControlButton.cpp

fixed a bug that users can't set a button highlighted in the upper logic. also modify some coding format.
Use shared NodeLoaderLibrary in CCBReader bindings
Fix package installation in make-all-linux-project

There was a bug where missing packages would cause the script
to exit.

This change also makes several improvements:
- script can now be run from anywhere (not only the cocos root)
- apt-get is called only once to install all missing packages
  (this makes output much more informative on first use)
- added comment/docs to the top of the script
Update GLES version notes in README.mdown

Also, remove trailing whitespace and improve formatting.
Add 'make run' target for linux projects.

Also, a few other linux build system improvements:
- Add linux build of SimpleGame
- Update multi-platform templates to use new common
  build system.
- Remove redundant main.h files.
Cleanup the tolua++ bindings build system.

Update basic.lua to do all the required patching of
the output file without helper scripts such as
build.xml or build.php.

Update README file with current instructions.

Re-generate output file using new build system.

Add build.sh and build.bat for building on POSIX and
win32 respectively.
Merge pull request #2127 from sbc100/tolua_build_system

fixed #1818: Cleanup the tolua++ bindings build system.
Merge pull request #2125 from sbc100/fix_readme

Update GLES version notes in README.mdown
fixed #1808: Updated the submodule of cxx-generator and fixed some compilation errors after that.
fixed #1808: Adding config section 'script_control_cpp' and set it to 'no'.
Merge pull request #2129 from dumganhar/master

fixed #1808: Updated the submodule of cxx-generator and fixed some compilation errors after that.
cocos2dxmatoMac-mini : updating submodule reference to latest autogenerated bindings
Merge pull request #2130 from CocosRobot/updategeneratedsubmodule_1362895391

cocos2dxmatoMac-mini : updating submodule reference to latest autogenerated bindings
Deleting all files in 'scripting/javascript/bindings/generated' except '.git' and 'README'.
Merge pull request #2131 from dumganhar/master

Deleting all files in 'scripting/javascript/bindings/generated' except '.git' and 'README'.
cocos2dxmatoMac-mini : updating submodule reference to latest autogenerated bindings
Merge pull request #2132 from CocosRobot/updategeneratedsubmodule_1362903160

cocos2dxmatoMac-mini : updating submodule reference to latest autogenerated bindings
Fixed compilation error for MAC port.
Merge pull request #2133 from dumganhar/master

Fixed compilation error for MAC port.
Added CCNotificationCenter::removeAllObservers

This is a helper method that removes all observers with a particular
target. It can be used in destuctors to ensure no observers trigger
callbacks on objects that no longer exist.