Remove phonegap platforms & include fake xhr fix for when instance.xhr is not yet available