Added initial implementation of a generic C++ function glue binding layer. It is currently broken.