[promise] Mock Github API calls in doc examples

This PR adds a module that is loaded when CI runs the Promise functional tests and that overrides `Y.jsonp` so as not to rely on the real Github API for testing.

/cc @clarle