ResolveSubTree works with VClassOcc and done some refactoring
Resolve subtree now works with Occurrences. Refactored, Iterate now
takes type into consideration.
added isTypeNull, is Occurrence and getTypeMembers in commonUtility.