add custom offline handler to Marketplace packaged app (bug 875734)