rt: Move StructToDg to object.
semantic: Add retrieveStructToDg function.
ir: Add getNestedVariables function to Scope.
ir: Add some util functions.
llvm: Pass Nested variables through to the backend.
semantic: WIP of function to delegate rewriting.