Refactor common parts from defineInterface() and defineClass() into defineType()
Refactor: Change newinstance() to use lang.ClassLoader::defineType()