Add system.getBackgroundRequest api.

Added caching. If set, req.appengine.moduleInstance comes from the GAE_MODULE_INSTANCE env variable. It is only set in the dev appserver.