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
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.
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.
Updated iOS template.
Merge pull request #2135 from dumganhar/master

Updated iOS template.
Merge pull request #2124 from sbc100/fix_make_all

fixed #1819: Fix package installation in make-all-linux-project.
Update AUTHORS
Merge pull request #2126 from sbc100/make_run_for_linux

fixed #1820: Adding 'make run' target for linux projects.
Update AUTHORS
Merge pull request #2108 from csy1988525/master

fixed #1821: The display result is wrong when invoking CCControlButton:: setHighlighted.
Update AUTHORS
Merge pull request #2134 from AsadR/remove-all-notifications-for-target

fixed #1822: Added CCNotificationCenter::removeAllObservers(CCObject *target).