iOS and Android PhoneGap plugin — support PhoneGap 3.0

Added support of the most recent PhoneGap 3.0