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.