Fix CCLayoutBox not updating when items removed.
Move the detach call to a private header file instead.
Merge pull request #4 from jtwigg/develop-v3

Fix CCLayoutBox not updating when items removed.