Add Nashorn test runner.

This adds a test runner for Nashorn, essentially porting the Rhino runner.
@mikesperber There's two `nashorn` references here that are causing the Travis test failures.