Fix bug in InputMocker class; add `getArray` mock support

Fixed up an incorrectly named `TestHelper` reference.
Added the ability to mock the `getArray` method for tests.
Adds an edge-case workaround in `Input\Json` that prevented it from working if `php://input` had already been accessed.