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
Merge pull request #2326 from harikrishnar/master

fixed #2037: Major problem with initWithObjects method of CCArray.