updated send function to use sendPersistedLogs()
updated send function to use sendPersistedLogs()

ibm-bluemix-mobile-services/bms-clientsdk-cordova-plugin-core,ibm-bluemix-mobile-services/bms-clientsdk-cordova-plugin-core,ibm-bluemix-mobile-services/bms-clientsdk-cordova-plugin-core