Updated examples to include using the device object. Removed claim core from device, if the device is listed or retrieved it already belongs to the user, there is no use for this one here.
Fix tests
Merge pull request #25 from spark/upd-examples-device

Updated examples to include using the device object. Removed claim core ...