Adding support for constructors using java.lang.Object as arguments

This patch allows the instantiation of objects whose constructor takes java.lang.Object as arguments.
Maybe a more generic approach would be to inspect the argument type and use reflection to try to instantiate it. So for example, if the constructor is expecting an Object use reflection to get the java.lang.Object constructor and create an instante to pass to the constructor.