fixed a crash bug when uploading the model is failed
moved texture procedures to ModelContext, added stbi fallback
added IModel#getTextureRefs, renamed to IVertex#setMaterialRef