Removed reliance on V8, swapped in Rhino support

The Rhino support is pulled straight from the old Dieter project.