Bug 999506 - Detect the device_root before pushing/clearing files from t...

...he device, remove hardcoded references to /sdcard