Nashorn support with JDK8

This is my attempt to use Nashorn script engine for the plugin. 
I haven't use it in production yet.

Let me know if this is useful.