Upgrade dependencies.
Use parens for side-effecting 0-arg method calls.
Fix tests on Windows.
Replace Rhino with Nashorn.