Added a class cache for the type resolver. This ensures classes only need to be compiled once at runtime.

Issue: FMA-17
Change-Id: I71d4d54c62a1c7e6c4565f862acabc4fda049ba6