[Work in progress] Scala 2.10

Currently this might not merge with master, will update that soon. I have tested this especially by simulating situations leading to GC pauses. I have not yet tested with very long jobs (running in hours).


A few notes:
1. There is an unused method called "addAllClasspath" in SparkILoop.scala. It came from the commit "Make spark SIMR ready" Since this method is not used anywhere there is no way to know if it still does what it was supposed to. Also from what I know, it is not supposed to work for this reason :SI-6502. Once it is fixed in scala-lang it should be easy to port. I have not checked what was done in 2.11 though, I can check that though.