[iOS] Added cordova call to find if application is using as plugin