Switch testing to NodeJS, so we can use Travis-CI.

Also remove all dependencies on Rhino.