Refactor sync method to setup up for unzip/download methods
Refactor sync method to setup up for unzip/download methods

revolunet/phonegap-plugin-contentsync,phonegap/phonegap-plugin-contentsync,revolunet/phonegap-plugin-contentsync,revolunet/phonegap-plugin-contentsync,chrisland/phonegap-plugin-contentsync,phonegap/phonegap-plugin-contentsync,chrisland/phonegap-plugin-contentsync,purplecabbage/phonegap-plugin-contentsync,revolunet/phonegap-plugin-contentsync,purplecabbage/phonegap-plugin-contentsync,phonegap/phonegap-plugin-contentsync,phonegap/phonegap-plugin-contentsync,purplecabbage/phonegap-plugin-contentsync,chrisland/phonegap-plugin-contentsync,chrisland/phonegap-plugin-contentsync,purplecabbage/phonegap-plugin-contentsync,revolunet/phonegap-plugin-contentsync,phonegap/phonegap-plugin-contentsync,purplecabbage/phonegap-plugin-contentsync,phonegap/phonegap-plugin-contentsync,chrisland/phonegap-plugin-contentsync