Bug: 27973681 Implemented correct destruction in ScriptGroup.destroy() and Clsoure.destroy(), which properly destroys child BaseObj's. Change-Id: I946f62c2979d6a338b8883514cacad472a213c5c (cherry picked from commit 44e2f45f0cab4a429e59f07c1e5bf0eef08c7819)