Emscripten-ify rainbow-dash

Converted part of rainbow-dash to C compiled via emscripten to get a ~40-60% perf boost in Node 0.8.x's V8. (Will update with Firefox, Safari, etc).