Fix weird segfault bug

Half-assed fix but idk what else to do
ilG_drawable3d is an object now

Uses the ilG_bindable typeclass instead of direct bind/unbind/draw
functions
Convert materials to object system
Convert textures to object system
Change how destructors and copy functions work
Copying of objects
Forgot to track some files