Removed useless code from java_gateway.py

Added comments in utils.py and SparkSubmitArguments.scala to notice someone that both of the files should be modified simultaneously