ENYO-3561: adding error handler as debug.html in phonegap archive

PGB archive does not contain the debug.html file. this new code will create this missing file as a copy of the PGB error page that Ares serves as a static resource.