[io] Mock Yahoo Pipes API calls in doc examples

Mock Yahoo Pipes API when `?mock=true` is passed in.

This is part of a series of PRs to make the functional tests more consistent in day-to-day CI.  The actual tests (with real data) will still be run, but less often.