Add DynamicInvoke, Enumerable.Reverse, Stack.Peek, misc type fixes, and tests for the aforementioned