RandomForest.runPartial should union all RDDs and submit only 1 job

Also refactored several functions for clarity and fixed some code style issue.