feat(MockSTDIN): add reset() method to allow pushing data post-EOF

Ordinarily, a Readable stream will throw when attempting to push after an EOF.
This routine will reset the `ended` state of a Readable stream, preventing it
from throwing post-EOF. This prevents being required to re-create a mock STDIN
instance during certain tests where a fresh stdin is required.

Closes #2