Use scala 2.10 reflection.
Note: Runtime reflection mixed with threads or actors might be dangerous.
See https://issues.scala-lang.org/browse/SI-6240.
Scala 2.10 reflection: added synchronization
Merge pull request #924 from ddurnev/reflect_2.10

Issue #729: Use scala 2.10 reflection.