Updated code to 4.0 API syntax in "Device information and abilities"
Minor edits
Merge pull request #20 from javiermolina1234/device_information_and_abilities

Update "Device information and abilities" guide