Remove script instance from data and entity when destroyed
Remove script instance from data and entity when destroyed

--HG--
branch : feature/scripts-as-components

shinate/engine,horryq/engine-1,aidinabedi/playcanvas-engine,shinate/engine,SuperStarPL/engine,sereepap2029/playcanvas,maxwellalive/engine,maxwellalive/engine,sereepap2029/playcanvas,sanyaade-teachings/engine,nizihabi/engine,RainsSoft/engine,MicroWorldwide/PlayCanvas,RainsSoft/engine,sanyaade-teachings/engine,nizihabi/engine,SuperStarPL/engine,aidinabedi/playcanvas-engine,horryq/engine-1,maxwellalive/engine,SuperStarPL/engine,RainsSoft/engine,shinate/engine,H1Gdev/engine,playcanvas/engine,3DGEOM/engine,guycalledfrank/engine,MicroWorldwide/PlayCanvas,sanyaade-teachings/engine,sereepap2029/playcanvas,3DGEOM/engine,3DGEOM/engine,nizihabi/engine,H1Gdev/engine,horryq/engine-1,guycalledfrank/engine,playcanvas/engine