First version of a 'workable' Nodejs shim

Well, the shim compiles and sorta looks valid. IMHO, this is going to take quite a few iterations before its really usable. Hopefully we'll get some Nodejs guys on board who can come up with suggestions on how to make stuff a little friendlier.