refactor setDevice logic and capture ios8 device udid
update ios settings module to handle ios8 paths