getdevice and test files

Created function getdevice, which passes validation tests against
test_device.yaml. Added additional test files from main ua-parser
library on Github