Generic call interface for spark shell
invoke_method(sc, static, object, method, ...)spark_connection
Is this a static method call (including a constructor). If so
then the object parameter should be the name of a class (otherwise
it should be a spark_jobj instance).
Object instance or name of class (for static)
Name of method
Call parameters