return unadorned filename from JVM_GetSystemPackage

Package.defineSystemPackage expects a filename, not a URL.
check argument types in JVM_InvokeMethod

Method.invoke must throw an IllegalArgumentException if it receives
the wrong number or types of arguments, and since this isn't done by
the OpenJDK class library, we must do it in the VM.