Minor fixes to Mocking:
- Mocking AD cmdlets was producing errors due to how their Dynamic Parameters are returned. This has been fixed.
- Mocking functions is now more robust in situations where the mocked function has potentially unresolved parameter sets at the time the dynamicparam block is evaluated, or where the mocked function has defined parameters named $ExecutionContext or $MyInvocation.