Add destroy method which cancels animationFrame, and does cleanup on three.js scene resources
Add destroy method which cancels animationFrame, and does cleanup on three.js scene resources

This is important if the user is done with Valiant360 and wishes for it to be wiped from the page. Previously, even if all dom elements are removed, request animation frame continues forever and can cause performance leak!

flimshaw/Valiant360,zlot/Valiant360,flimshaw/Valiant360,zlot/Valiant360