Refactored wipe_device.rb and small change for USB pendrives in if-statement of smart-incapable devices

wipe_device.rb was broken into 3 separate files, two of which go under a /lib directory, to make the code easier to understand and modify. While we were testing the refactored code we found a small fix to be able to wipe usb pendrives. That fix involved moving a test to the if-statement of smart incapable devices.