Update CCControlButton.cpp

fixed a bug that users can't set a button highlighted in the upper logic. also modify some coding format.
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.
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