Move the test result.cmd_line? to the if-statement of smart-incapable devices to be able to wipe usb pendrives
Refactored wipe_device.rb into 3 separate files.