Added method to get device id.
First pass at server request.
Merge pull request #2 from cfreeman/master

whoo.