Fix std::string support for v8.
Simplify the signature of the v8 module intializer.
Generate an extra file part after the initializer for v8 modules.

E.g., this is useful for creating node.js modules.
Add a swig macro to register node.js extensions.