adding support for getSessions + test
Made it all work.
moving capabilities to the device, to keep responsibilities clear
Merge pull request #3 from santiycr/master

Adding getSessions