Resolving ObjectType using Scala2.10 reflection
Composed the pattern matching
Add test case
Using a cache of ObjectTypes