classForName

Resolve the type represented by the given class name. This will
test the type against the namespace of the Query and the declared
imports, and will properly handle primitives and java.lang types
as well. Returns null if the name does not match a known type.