Extended OpenCTM API with ctmSaveToBuffer and ctmFreeBuffer functions.
Added ffi-based bindings for node.js.