Remove tailing newlines from CCLog messaages.

Some CCLog message contained trailing newlines which
made the logs hard to read on many platforms.  The solution
here is to stip trailing newlines on those platforms, and also
to remove the newlines from the existing log messages.
Fix linux library path.

linux libraries were being built to "cocos2dx/lib/linux" rather
than just lib/linux.

Always used absolute path for -rpath linker argument.
Fix linux build

The cocos library uses libpthread and libGL on linux, so we need to link
with them.
Support variable cell sizes in CCTableView
fixed #2034:make CCUserDefault compatible with previous version on Android and iOS
Problem with initWithObjects of CCArray

A new unused array was created instead of using the instance on which
the method was called
CCControlButton responds even if its parent is invisible

The Buttons should not respond if its invisble or if its made invisible
by any of its parent in the hierarchi
Added a getter to get the size of the data

Added a getter to get the size of the data
Correction of passed buffer size to readlink and verification of result return by readlink.
Merge pull request #2325 from minggo/userdefault-hotfix

fixed #2034:make CCUserDefault compatible with previous version on Android and iOS
Renaming tools/cxx-generator to tools/bindings-generator.
Updating .gitmodules.
Merge pull request #2330 from dumganhar/rename-cxx-generator

Renaming tools/cxx-generator to tools/bindings-generator.
Updating genbindings.sh, cxx-generator ~> bindings-generator.
Merge pull request #2331 from dumganhar/master

Updating genbindings.sh, cxx-generator ~> bindings-generator.
Merge pull request #2328 from elmiro/readlink

fixed #2036: Correction of passed buffer size to readlink ...
Update AUTHORS
Merge pull request #2326 from harikrishnar/master

fixed #2037: Major problem with initWithObjects method of CCArray.
Update AUTHORS
cxx-generator ~> bindings-generator for plugin.