adds documentation to device.rb

## motivation

This class deserves documentation.

## todo

- [ ] @krukow needs after review
- [ ] PR https://github.com/calabash/calabash-ios/pull/406 needs merge after this

Merge at will.