Check array boundaries to avoid the "array-bounds" error on linux

Compiling on linux causes the error "array subscript is above array
bounds [-Werror=array-bounds]". This commit adds boundary checking
using the constant defining the maximum number of items in the "nuke" array.

Signed-off-by: Roger Zanoni <roger.zanoni@openbossa.org>
fixed #1862: CCScrollView::setContainer may cause dangling pointer when NULL is passed into.
Merge pull request #2367 from dumganhar/iss1862-setContainer

fixed #1862: CCScrollView::setContainer may cause dangling pointer when NULL is passed into.
fixed #2040: Getting scale property from sub-ccb node may trigger an assert of 'CCAssert( m_fScaleX == m_fScaleY, "CCNode#scale. ScaleX != ScaleY. Don't know which one to return");'.
Merge pull request #2368 from dumganhar/iss2040-ccb-getScale

fixed #2040: Getting scale property from sub-ccb node may trigger an assert of 'CCAssert( m_fScaleX == m_fScaleY, "CCNode#scale. ScaleX != ScaleY. Don't know which one to return");'.
fixed #1860: onNodeLoaded will be called twice if ccb was added as a CCBFile.
Merge pull request #2369 from dumganhar/iss1860-subccb-onNodeLoaded

fixed #1860: onNodeLoaded will be called twice if ccb was added as a CCBFile and adding test.
Merge pull request #2349 from rogerzanoni/master

fixed #2052: [Linux] [-Werror=array-bounds] error appears when compiling Box2dTestBed.
Update AUTHORS
Adding popSceneBack() function to CCDirector

This function deletes the running scene and returns the actual scene
back to the caller. This way, we can simply use it to perform a
transition animation, like this:

    CCDirector::sharedDirector()->replaceScene(
            CCTransitionSlideInL::create(0.5,
            CCDirector::sharedDirector()->popSceneBack()));

Signed-off-by: Rodrigo Goncalves de Oliveira <rodrigo.goncalves@openbossa.org>