Add match/case support

Use Scala 2.10.0 instead of 2.10.1 because of SI-7377