refactor ios authorize logic and use security db for 10.9
refactor ios authorize logic and use security db for 10.9

appium/appium,appium/appium,appium/appium,appium/appium,appium/appium,appium/appium,Sw0rdstream/appium