Added missing aggregate SUM logic to
WorldTreeFactory.materializeDefinitions
Added logic for resolving definitions in ResolutionEngine.evaluate