Added ability to construct classes from memory

Implemented sfTexture_createFromMemory