Spark Integration: Collect System Metrics from Spark Job

Build running here: https://builds.cask.co/browse/CDAP-DUT176-5

@anew : Please review. Thanks. 
I don't understand this completely because I don't have the full context of what got fixed. Let's discuss this in person.