make sure to clear weights and boneIndices before storing them
misc animation and shader bug fixes
remove debug test
adding backend to flatten animations
https://github.com/KhronosGroup/glTF/issues/109