Merge pull request #1398 from jlipps/master

use adb api correctly
refactor ios authorize logic and use security db for 10.9