Refactored to make the script more concise and remove repetative code.
A few corrections in check_csv
Added detection for WindowsPhone
Begun adding desktop detection
Plurals renamed to singlulars (eg. 'mobiles' is now 'mobile')
Added RSpec tests
Added some test devices
Fixed detection of Motorola Xoom. Was detected as Mobile rather than tablet